Skip to content
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
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ defusedxml==0.6.0
jsonschema==3.2.0
lxml==4.5.0
marshmallow==2.19.5
pydantic==1.6.1
pyOpenSSL==18.0.0
pytz==2019.3
signxml==2.8.1
Expand Down
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ directory = test-reports/coverage/html
[mypy]
python_version = 3.7
platform = linux
plugins =
pydantic.mypy

follow_imports = normal
ignore_missing_imports = False
Expand Down Expand Up @@ -62,6 +64,12 @@ ignore_missing_imports = True
[mypy-pytz.*]
ignore_missing_imports = True

[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True

[flake8]
ignore =
# W503 line break before binary operator
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def get_version(*file_paths: Sequence[str]) -> str:
'jsonschema>=3.1.1',
'lxml>=4.5.0,<5',
'marshmallow>=2.19.2,<3',
'pydantic>=1.6.1',
# TODO: remove upper-bound after a new release of 'signxml' drops the requirement 'pyOpenSSL<20'
'pyOpenSSL>=18.0.0,<20',
'pytz>=2019.3',
Expand Down