Skip to content

Commit

Permalink
Merge pull request #497 from aiven/aiven-anton/chore-bump-mypy
Browse files Browse the repository at this point in the history
chore: bump mypy, move config from pre-commit
  • Loading branch information
jjaakola-aiven authored Nov 25, 2022
2 parents 5b9f2bc + 61d560a commit 54a71f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,11 @@ repos:
files: \.py$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
rev: v0.991
hooks:
- id: mypy
name: Mypy Karapace
pass_filenames: false
args:
- "--show-error-codes"
- "--ignore-missing-imports"
- "--package"
- "karapace"

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
Expand Down
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[mypy]
python_version = 3.7
packages = karapace
show_error_codes = True
pretty = True
warn_redundant_casts = True
ignore_errors = False
disallow_untyped_defs = True
Expand Down

0 comments on commit 54a71f5

Please sign in to comment.