Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(robot-server): Add sqlalchemy2-stubs #9773

Merged
merged 2 commits into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'"}
Comment on lines +17 to +20
Copy link
Contributor Author

@SyntaxColoring SyntaxColoring Mar 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving this section up high because pipenv install --dev foo appends foo to the bottom of the list, which would make it look like foo is part of this Pytest workaround thing.


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