Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files- pyproject.toml +7 -2
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
|
@@ -47,5 +46,11 @@ unfixable = [
|
|
47 |
"F401", # unused-import
|
48 |
]
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
[tool.ruff.format]
|
51 |
docstring-code-format = true
|
|
|
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
|
|
|
46 |
"F401", # unused-import
|
47 |
]
|
48 |
|
49 |
+
[tool.ruff.lint.pydocstyle]
|
50 |
+
convention = "google"
|
51 |
+
|
52 |
+
[tool.ruff.lint.per-file-ignores]
|
53 |
+
"*.ipynb" = ["T201", "T203"]
|
54 |
+
|
55 |
[tool.ruff.format]
|
56 |
docstring-code-format = true
|