Spaces:
Running on CPU Upgrade

hysts HF staff commited on
Commit
ecd6841
·
1 Parent(s): 8146464

Update ruff settings

Browse files
Files changed (1) hide show
  1. pyproject.toml +1 -28
pyproject.toml CHANGED
@@ -58,34 +58,7 @@ cohere-gradio = { git = "https://github.com/AK391/cohere-gradio.git" }
58
  line-length = 119
59
 
60
  [tool.ruff.lint]
61
- select = ["ALL"]
62
- ignore = [
63
- "COM812", # missing-trailing-comma
64
- "D203", # one-blank-line-before-class
65
- "D213", # multi-line-summary-second-line
66
- "E501", # line-too-long
67
- "SIM117", # multiple-with-statements
68
- ]
69
- extend-ignore = [
70
- "D100", # undocumented-public-module
71
- "D101", # undocumented-public-class
72
- "D102", # undocumented-public-method
73
- "D103", # undocumented-public-function
74
- "D104", # undocumented-public-package
75
- "D105", # undocumented-magic-method
76
- "D107", # undocumented-public-init
77
- "EM101", # raw-string-in-exception
78
- "FBT001", # boolean-type-hint-positional-argument
79
- "FBT002", # boolean-default-value-positional-argument
80
- "PD901", # pandas-df-variable-name
81
- "PGH003", # blanket-type-ignore
82
- "PLR0913", # too-many-arguments
83
- "PLR0915", # too-many-statements
84
- "TRY003", # raise-vanilla-args
85
- ]
86
- unfixable = [
87
- "F401", # unused-import
88
- ]
89
 
90
  [tool.ruff.format]
91
  docstring-code-format = true
 
58
  line-length = 119
59
 
60
  [tool.ruff.lint]
61
+ select = ["E", "F", "I", "N", "S", "T", "UP", "W"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
  [tool.ruff.format]
64
  docstring-code-format = true