Skip to content

Commit

Permalink
mypy: add mypy config like pghoard
Browse files Browse the repository at this point in the history
  • Loading branch information
NARSimoes committed Apr 27, 2022
1 parent 6dbfb43 commit 15a9b69
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[mypy]
python_version = 3.9
warn_redundant_casts = True


[mypy-azure.*]
ignore_missing_imports = True

[mypy-azure.common.*]
ignore_missing_imports = True

[mypy-dataclasses.*]
ignore_missing_imports = True

[mypy-googleapiclient.*]
ignore_missing_imports = True

[mypy-oauth2client.*]
ignore_missing_imports = True

[mypy-snappy.*]
ignore_missing_imports = True

[mypy-swiftclient.*]
ignore_missing_imports = True

[mypy-systemd.*]
ignore_missing_imports = True

2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Lock mypy to the same major version used in downstream build environments
mypy>=0.931,<1.0
mypy
# Same version from pghoard
pylint>=2.4.3,<=2.7.2
pylint-quotes
Expand Down

0 comments on commit 15a9b69

Please sign in to comment.