Skip to content

Commit

Permalink
Update mypy config
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Aug 19, 2023
1 parent 3db8319 commit e508ff6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ dev = [
ruff = "ruff check src --fix-only"
black = "black src"
test = "pytest --cov"
mypy = "mypy src"
mypy = "mypy src --install-types --non-interactive"
bumpver = "pdm bump micro"
tag = "pdm bump tag"

Expand Down Expand Up @@ -160,6 +160,18 @@ testpaths = [
"tests",
]

[tool.mypy]
check_untyped_defs = false
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_decorators = false
disallow_any_unimported = false
warn_return_any = false
warn_unused_ignores = true
no_implicit_optional = true
show_error_codes = true
ignore_missing_imports = true

[build-system]
requires = [
"setuptools>=61",
Expand Down

0 comments on commit e508ff6

Please sign in to comment.