Skip to content

Commit

Permalink
Add mypy and pyright pyproject.toml configs
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjohns committed May 30, 2023
1 parent b69674c commit cc80e87
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.mypy]
strict = true

[tool.pyright]
typeCheckingMode = "strict"
reportCallInDefaultInitializer = "error"
reportImplicitStringConcatenation = "error"
#reportMissingSuperCall = "error"
reportPropertyTypeMismatch = "error"
reportUninitializedInstanceVariable = "error"
reportUnnecessaryTypeIgnoreComment = "error"
reportUnusedCallResult = "error"
reportUnusedImport = "warning"

0 comments on commit cc80e87

Please sign in to comment.