Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 cleaned up __init__.pyi a bit #12

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,18 @@ pythonVersion = "3.10"
typeCheckingMode = "standard" # TODO(jorenham): set to "all"

deprecateTypingAliases = true
enableReachabilityAnalysis = false
enableTypeIgnoreComments = false
enableReachabilityAnalysis = false
reportCallInDefaultInitializer = true
reportImportCycles = true
reportImplicitOverride = false # TODO
reportMissingSuperCall = false
reportPrivateUsage = false
reportPropertyTypeMismatch = false
reportShadowedImports = true
reportUninitializedInstanceVariable = true
reportUnnecessaryTypeIgnoreComment = true
# TODO
reportImplicitOverride = false
reportUnusedExpression = false
# basedpyright only
failOnWarnings = true
reportIgnoreCommentWithoutRule = true
Expand All @@ -108,7 +108,7 @@ reportImplicitRelativeImport = true
reportImplicitStringConcatenation = false
reportInvalidCast = true
reportPrivateLocalImportUsage = true
reportUnannotatedClassAttribute = true
reportUnannotatedClassAttribute = false # TODO
strictGenericNarrowing = true


Expand All @@ -132,6 +132,7 @@ preview = true
"EM", # flake8-errmsg
"FIX", # flake8-fixme
"ANN401", # flake8-annotations: any-type
"PYI041", # flake8-pyi: redundant-numeric-union
]

[tool.ruff.lint.per-file-ignores]
Expand Down
Loading