updated pre-commit

This commit is contained in:
Alexander Karpov 2023-02-16 01:12:50 +03:00
parent 9c07007b54
commit 5fd9c2bfb5
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.idea
### Python template ### Python template
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/

View File

@ -32,6 +32,12 @@ repos:
args: ["--config=setup.cfg"] args: ["--config=setup.cfg"]
additional_dependencies: [flake8-isort] additional_dependencies: [flake8-isort]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.0
hooks:
- id: mypy
args: ["--config=setup.cfg"]
# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date # sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date
ci: ci:
autoupdate_schedule: weekly autoupdate_schedule: weekly