Skip to content

Commit

Permalink
fix: Add new mypy config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 12, 2024
1 parent ed8d890 commit 832ed55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
8 changes: 8 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[mypy]
strict = True
warn_return_any = False
show_error_context = True
pretty = True

[mypy-docs.source.*]
ignore_errors = True
15 changes: 0 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,3 @@ types-psutil = "^5.9.5.20240106"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]
python_version = 3.8
check_untyped_defs = true
ignore_errors = false
ignore_missing_imports = false
strict_optional = true
no_implicit_optional = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unreachable = true

show_error_context = true
pretty = true

0 comments on commit 832ed55

Please sign in to comment.