Skip to content

Commit

Permalink
run mypy on the babelizer
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 20, 2024
1 parent 6086712 commit 023eabf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,5 @@ repos:
hooks:
- id: mypy
additional_dependencies: [types-all]
files: babelizer/.*\.py$
exclude: ^babelizer/data
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ skip = [
"babelizer/data",
]

[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true

[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
Expand Down

0 comments on commit 023eabf

Please sign in to comment.