Skip to content

Commit

Permalink
Update mypy to avoid false-positives
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauko Quiroga committed Oct 7, 2021
1 parent 8f32216 commit 727344d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ testpaths = openfisca_core/commons openfisca_core/types tests
[mypy]
ignore_missing_imports = True

[mypy-openfisca_core.commons.tests.*]
ignore_errors = True

[mypy-openfisca_core.scripts.*]
ignore_errors = True
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'pytest >= 4.4.1, < 6.0.0', # For openfisca test
'PyYAML >= 3.10',
'sortedcontainers == 2.2.2',
'typing-extensions >= 3.0.0.0, < 4.0.0.0',
]

api_requirements = [
Expand All @@ -31,11 +32,13 @@
'flake8-docstrings == 1.6.0',
'flake8-print >= 3.1.0, < 4.0.0',
'flake8-rst-docstrings < 1.0.0',
'mypy >= 0.701, < 0.800',
'mypy == 0.910',
'pylint == 2.10.2',
'openfisca-country-template >= 3.10.0, < 4.0.0',
'openfisca-extension-template >= 1.2.0rc0, < 2.0.0',
'pytest-cov >= 2.6.1, < 3.0.0',
'types-PyYAML == 5.4.10',
'types-setuptools == 57.0.2',
] + api_requirements

setup(
Expand Down

0 comments on commit 727344d

Please sign in to comment.