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