hysts HF Staff commited on
Commit
b8ba7aa
·
1 Parent(s): b87e014

Update ruff config

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