-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3dfa4c
commit 507b848
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[tool.pyright] | ||
include = ["noxfile.py", "runner.py"] | ||
|
||
pythonVersion = "3.11" | ||
typeCheckingMode = "strict" | ||
reportMissingModuleSource = "error" # Is only "warning" on strict mode. | ||
|
||
# Error code which are disabled even when general strict. | ||
reportShadowedImports = "error" | ||
reportCallInDefaultInitializer = "none" # Ended up just complaining about cases where this was fine (e.g. timedeltas). | ||
reportImplicitStringConcatenation = "none" # Conflicts with flake8 config. | ||
reportPropertyTypeMismatch = "error" | ||
reportUninitializedInstanceVariable = "error" | ||
reportUnnecessaryTypeIgnoreComment = "error" |