This commit adds the tooling necessary to support gradual type annotation of the codebase: - Add mypy to test-requirements.txt - Add mypy configuration to pyproject.toml with a list of type-checked modules (initially empty, to be populated as modules are migrated) - Add tox mypy environment for running type checks - Add mypy pre-commit hook This follows the same pattern established in `ironic-prometheus-exporter`. Change-Id: Ie9e4b5ebccff4ce29b4e014c62f09594d968d721 Signed-off-by: Karan Anand <anandkarancompsci@gmail.com>
13 lines
298 B
Plaintext
13 lines
298 B
Plaintext
coverage>=4.0 # Apache-2.0
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
requests-mock>=1.2.0 # Apache-2.0
|
|
oslotest>=3.2.0 # Apache-2.0
|
|
testtools>=2.2.0 # MIT
|
|
tempest>=17.1.0 # Apache-2.0
|
|
stestr>=1.0.0 # Apache-2.0
|
|
ddt>=1.0.1 # MIT
|
|
python-openstackclient>=3.12.0 # Apache-2.0
|
|
|
|
# Type checking
|
|
mypy>=1.0.0 # MIT
|