remove various ignores that had no actual issue
This commit is contained in:
@@ -12,10 +12,6 @@ target-version = "py313"
|
||||
line-length = 88
|
||||
lint.select = [ "ALL" ]
|
||||
lint.ignore = [
|
||||
"A003",
|
||||
# A005 Module `inspect` shadows a Python standard-library module
|
||||
# We might actually want to fix this.
|
||||
"A005",
|
||||
"ANN401",
|
||||
"C901",
|
||||
"COM812",
|
||||
@@ -48,6 +44,7 @@ lint.ignore = [
|
||||
"S607",
|
||||
"T201",
|
||||
"TD",
|
||||
"INP001",
|
||||
|
||||
# Maybe we can fix those
|
||||
"D205",
|
||||
@@ -56,7 +53,6 @@ lint.ignore = [
|
||||
"PLR0913",
|
||||
"PLR0915",
|
||||
"FBT003",
|
||||
"INP001",
|
||||
]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
@@ -76,3 +72,49 @@ lint.ignore = [
|
||||
"*/fixtures/*.py" = [
|
||||
"S101"
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py313"
|
||||
line-length = 88
|
||||
lint.select = [ "ALL" ]
|
||||
lint.ignore = [
|
||||
"ANN401", # any-type
|
||||
"C901", # complex-structure
|
||||
"COM812", # missing-trailing-comma
|
||||
"D100", # undocumented-public-module
|
||||
"D101", # undocumented-public-class
|
||||
"D102", # undocumented-public-method
|
||||
"D103", # undocumented-public-function
|
||||
"D104", # undocumented-public-package
|
||||
"D105", # undocumented-magic-method
|
||||
"D107", # undocumented-public-init
|
||||
"D200", # unnecessary-multiline-docstring
|
||||
"D203", # incorrect-blank-line-before-class
|
||||
"D213", # multi-line-summary-second-line
|
||||
"D401", # non-imperative-mood
|
||||
"D415", # missing-terminal-punctuation
|
||||
"E402", # module-import-not-at-top-of-file
|
||||
"E501", # line-too-long
|
||||
"ERA001", # commented-out-code
|
||||
"FBT001", # boolean-type-hint-positional-argument
|
||||
"FBT002", # boolean-default-value-positional-argument
|
||||
"FIX", # flake8-fixme (FIXME comments)
|
||||
"G001", # logging-string-format
|
||||
"G004", # logging-f-string
|
||||
"PLR0911", # too-many-return-statements
|
||||
"PLR2004", # magic-value-comparison
|
||||
"PT023", # pytest-incorrect-mark-parentheses-style
|
||||
"S603", # subprocess-without-shell-equals-true
|
||||
"S607", # start-process-with-partial-path
|
||||
"T201", # print
|
||||
"TD", # flake8-todos (TODO comments)
|
||||
"INP001", # implicit-namespace-package
|
||||
|
||||
# Maybe we can fix those
|
||||
"D205", # missing-blank-line-after-summary
|
||||
"D400", # missing-trailing-period
|
||||
"PLR0912", # too-many-branches
|
||||
"PLR0913", # too-many-arguments
|
||||
"PLR0915", # too-many-statements
|
||||
"FBT003", # boolean-positional-value-in-call
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user