Spaces:
Running on Zero
Running on Zero
Update ruff config
Browse files- pyproject.toml +4 -3
pyproject.toml
CHANGED
|
@@ -24,8 +24,7 @@ ignore = [
|
|
| 24 |
"D213", # multi-line-summary-second-line
|
| 25 |
"E501", # line-too-long
|
| 26 |
"SIM117", # multiple-with-statements
|
| 27 |
-
|
| 28 |
-
extend-ignore = [
|
| 29 |
"D100", # undocumented-public-module
|
| 30 |
"D101", # undocumented-public-class
|
| 31 |
"D102", # undocumented-public-method
|
|
@@ -36,7 +35,6 @@ extend-ignore = [
|
|
| 36 |
"EM101", # raw-string-in-exception
|
| 37 |
"FBT001", # boolean-type-hint-positional-argument
|
| 38 |
"FBT002", # boolean-default-value-positional-argument
|
| 39 |
-
"PD901", # pandas-df-variable-name
|
| 40 |
"PGH003", # blanket-type-ignore
|
| 41 |
"PLR0913", # too-many-arguments
|
| 42 |
"PLR0915", # too-many-statements
|
|
@@ -46,6 +44,9 @@ unfixable = [
|
|
| 46 |
"F401", # unused-import
|
| 47 |
]
|
| 48 |
|
|
|
|
|
|
|
|
|
|
| 49 |
[tool.ruff.format]
|
| 50 |
docstring-code-format = true
|
| 51 |
|
|
|
|
| 24 |
"D213", # multi-line-summary-second-line
|
| 25 |
"E501", # line-too-long
|
| 26 |
"SIM117", # multiple-with-statements
|
| 27 |
+
#
|
|
|
|
| 28 |
"D100", # undocumented-public-module
|
| 29 |
"D101", # undocumented-public-class
|
| 30 |
"D102", # undocumented-public-method
|
|
|
|
| 35 |
"EM101", # raw-string-in-exception
|
| 36 |
"FBT001", # boolean-type-hint-positional-argument
|
| 37 |
"FBT002", # boolean-default-value-positional-argument
|
|
|
|
| 38 |
"PGH003", # blanket-type-ignore
|
| 39 |
"PLR0913", # too-many-arguments
|
| 40 |
"PLR0915", # too-many-statements
|
|
|
|
| 44 |
"F401", # unused-import
|
| 45 |
]
|
| 46 |
|
| 47 |
+
[tool.ruff.lint.pydocstyle]
|
| 48 |
+
convention = "google"
|
| 49 |
+
|
| 50 |
[tool.ruff.format]
|
| 51 |
docstring-code-format = true
|
| 52 |
|