Skip to content

Commit

Permalink
chore: add mypy config
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Dec 10, 2023
1 parent 6c7f351 commit cd1805b
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion pyproject.toml
Expand Up @@ -140,4 +140,21 @@ markers = [
"issue: mark tests with current issues (deselect with '-m \"not issues\"')",
"working: marks tests which are working",
"fetch: marks tests which fetch data",
]
]

[tool.mypy]
files = ["src"]
python_version = "3.9"
warn_unused_configs = true
strict = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "antarctic_plots.*"
disallow_untyped_defs = true
disallow_incomplete_defs = true

0 comments on commit cd1805b

Please sign in to comment.