mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-07-27 08:27:44 +00:00
Cleanup workflows
- Added Bandit - Added unimport, isort, flynt - Added PyRight - Enabled preview mode on Bandit
This commit is contained in:
parent
ec7f825107
commit
f38f253de0
6 changed files with 164 additions and 46 deletions
|
@ -1,3 +1,47 @@
|
|||
[tool.black]
|
||||
line-length = 125
|
||||
skip-string-normalization = true
|
||||
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"
|
Loading…
Add table
Add a link
Reference in a new issue