mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-31 21:18:13 +00:00
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[tool.black]
|
|
line-length = 125
|
|
skip-string-normalization = true
|
|
preview = true # better formatting basically
|
|
|
|
[tool.isort]
|
|
line_length = 125
|
|
combine_as_imports = true
|
|
combine_star = true
|
|
|
|
[tool.pyright]
|
|
typeCheckingMode = "basic"
|
|
strictListInference = true
|
|
strictDictionaryInference = true
|
|
strictSetInference = true
|
|
|
|
# explicity enabling is better than making it strict and disabling stuff
|
|
reportMissingModuleSource = "error"
|
|
reportAssertAlwaysTrue = "error"
|
|
reportInvalidStringEscapeSequence = "error"
|
|
reportInvalidTypeVarUse = "error"
|
|
reportSelfClsParameterName = "error"
|
|
reportUnsupportedDunderAll = "error"
|
|
reportUnusedExpression = "error"
|
|
reportWildcardImportFromLibrary = "error"
|
|
reportConstantRedefinition = "error"
|
|
reportDuplicateImport = "error"
|
|
reportImportCycles = "error"
|
|
reportIncompatibleVariableOverride = "error"
|
|
reportIncompleteStub = "error"
|
|
reportInconsistentConstructor = "error"
|
|
reportInvalidStubStatement = "error"
|
|
reportMatchNotExhaustive = "error"
|
|
reportMissingParameterType = "error"
|
|
reportTypeCommentUsage = "error"
|
|
reportUnnecessaryCast = "error"
|
|
reportUnnecessaryComparison = "error"
|
|
reportUnnecessaryIsInstance = "error"
|
|
reportUnusedClass = "error"
|
|
reportUnusedVariable = "error"
|
|
reportUntypedBaseClass = "error"
|
|
reportUntypedClassDecorator = "error"
|
|
reportUntypedFunctionDecorator = "error"
|
|
reportUntypedNamedTuple = "error"
|
|
reportCallInDefaultInitializer = "error"
|
|
reportPropertyTypeMismatch = "error"
|
|
reportUnnecessaryTypeIgnoreComment = "error"
|