mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
Add urllib3 to mypy check
This commit is contained in:
@@ -40,7 +40,15 @@ repos:
|
|||||||
- id: mypy
|
- id: mypy
|
||||||
args: [--config, ./mypy.ini]
|
args: [--config, ./mypy.ini]
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
["numpy", "pytest", "requests", "types-requests", "types-tabulate"]
|
[
|
||||||
|
"numpy",
|
||||||
|
"pytest",
|
||||||
|
"requests",
|
||||||
|
"urllib3",
|
||||||
|
"types-requests",
|
||||||
|
"types-tabulate",
|
||||||
|
"types-urllib3",
|
||||||
|
]
|
||||||
# Unfortunately, `pre-commit` only runs on changed files
|
# Unfortunately, `pre-commit` only runs on changed files
|
||||||
# This doesn't work well with `mypy --follow-imports error`
|
# This doesn't work well with `mypy --follow-imports error`
|
||||||
# See: https://github.com/pre-commit/mirrors-mypy/issues/34#issuecomment-1062160321
|
# See: https://github.com/pre-commit/mirrors-mypy/issues/34#issuecomment-1062160321
|
||||||
|
Reference in New Issue
Block a user