diff --git a/.mypy.ini b/.mypy.ini new file mode 100644 index 000000000..486dde3fe --- /dev/null +++ b/.mypy.ini @@ -0,0 +1,3 @@ +[mypy] + +exclude = venv diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f51dbc6d3..46e29e7a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,3 +20,12 @@ repos: rev: v2.17.4 hooks: - id: pylint +- repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.3.0 + hooks: + - id: mypy + additional_dependencies: + [ + 'fire', + 'types-PyYAML' + ] diff --git a/requirements-dev.txt b/requirements-dev.txt index 20420596a..df7e312cb 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,2 +1,3 @@ pre-commit black +mypy