Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Reconfigure mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Nov 13, 2023
1 parent 935f0d6 commit 4e48911
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[tool.mypy]
python_version = "3.8"
platform = "linux"
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_decorators = false
warn_unreachable = true
local_partial_types = true
enable_error_code = [
"explicit-override",
"redundant-self",
"redundant-expr",
"possibly-undefined",
"truthy-bool",
"truthy-iterable",
"ignore-without-code",
"unused-awaitable",
"explicit-override",
]
strict = true

Expand Down Expand Up @@ -95,3 +96,4 @@ convention = "google"

[tool.ruff.pyupgrade]
keep-runtime-typing = true
keep-runtime-typing = true

0 comments on commit 4e48911

Please sign in to comment.