mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🚨 Lint config updates
This commit is contained in:
+5
-4
@@ -1,5 +1,9 @@
|
|||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
|
target-version = "py311"
|
||||||
|
fix = true
|
||||||
|
show-fixes = true
|
||||||
|
[tool.ruff.lint]
|
||||||
select = [ "ALL"]
|
select = [ "ALL"]
|
||||||
ignore = [
|
ignore = [
|
||||||
"D401",
|
"D401",
|
||||||
@@ -13,10 +17,7 @@ ignore = [
|
|||||||
"UP004", #useless-object-inheritance
|
"UP004", #useless-object-inheritance
|
||||||
"PLR0911" #too many returns
|
"PLR0911" #too many returns
|
||||||
]
|
]
|
||||||
target-version = "py311"
|
[tool.ruff.lint.pydocstyle]
|
||||||
fix = true
|
|
||||||
show-fixes = true
|
|
||||||
[tool.ruff.pydocstyle]
|
|
||||||
convention = "numpy"
|
convention = "numpy"
|
||||||
|
|
||||||
[tool.docformatter]
|
[tool.docformatter]
|
||||||
|
|||||||
Reference in New Issue
Block a user