Skip to content

Commit

Permalink
chore(robot-server): Add sqlalchemy2-stubs (#9773)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring authored Mar 24, 2022
1 parent 8d5e6a1 commit 882cfc0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
18 changes: 14 additions & 4 deletions robot-server/Pipfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"


[requires]

python_version = "3.7"


[dev-packages]

robot-server = {editable = true, path = "."}

# pytest dependencies on windows, spec'd here to force lockfile inclusion
# https://github.com/pypa/pipenv/issues/4408#issuecomment-668324177
atomicwrites = {version="==1.4.0", sys_platform="== 'win32'"}
colorama = {version="==0.4.4", sys_platform="== 'win32'"}

pytest = "~=6.1"
pytest-aiohttp = "==0.3.0"
pytest-cov = "==2.10.1"
Expand All @@ -24,14 +35,13 @@ flake8-noqa = "~=1.1.0"
decoy = "~=1.10.0"
httpx = "==0.18.*"
black = "==22.1.0"
# pytest dependencies on windows, spec'd here to force lockfile inclusion
# https://github.com/pypa/pipenv/issues/4408#issuecomment-668324177
atomicwrites = {version="==1.4.0", sys_platform="== 'win32'"}
colorama = {version="==0.4.4", sys_platform="== 'win32'"}
types-requests = "==2.25.6"
types-mock = "==4.0.1"
sqlalchemy2-stubs = "==0.0.2a21"


[packages]

opentrons = {editable = true, path = "../api"}
opentrons-shared-data = {editable = true, path = "../shared-data/python"}
notify-server = {editable = true, path = "../notify-server"}
Expand Down
12 changes: 10 additions & 2 deletions robot-server/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion robot-server/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
plugins = pydantic.mypy, decoy.mypy
plugins = pydantic.mypy, decoy.mypy, sqlalchemy.ext.mypy.plugin
show_error_codes = True
strict = True
# TODO(mc, 2021-09-12): remove these exclusions
Expand Down

0 comments on commit 882cfc0

Please sign in to comment.