File tree Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -208,29 +208,28 @@ exclude_lines = [
208208[tool .ruff ]
209209line-length = 120
210210indent-width = 4
211- target-version = " py38 "
211+ target-version = " py39 "
212212
213213[tool .ruff .lint ]
214- select = [" E4" , " E9" , " Q" ]
215- ignore = []
214+ # Select a minimal set of rules
215+ select = [
216+ " F" , # Pyflakes
217+ " E" , # Pycodestyle
218+ ]
219+
220+ ignore = [
221+ " E501" , # Line too long
222+ ]
223+
224+ # Allow fix for all enabled rules (when `--fix`) is provided.
216225fixable = [" ALL" ]
217226unfixable = []
218227
219- dummy-variable-rgx = " ^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
220-
221228[tool .ruff .format ]
222- docstring-code-format = true
223- quote-style = " double"
224- # Like Black, indent with spaces, rather than tabs.
225- indent-style = " tab"
226- # Like Black, respect magic trailing commas.
227- skip-magic-trailing-comma = false
228- # Like Black, automatically detect the appropriate line ending.
229+ docstring-code-format = false
230+ indent-style = " space"
229231line-ending = " auto"
230232
231- [tool .ruff .lint .pydocstyle ]
232- convention = " google"
233-
234233[tool .ruff .lint .per-file-ignores ]
235234"**/{tests,testing,docs}/*" = [" ALL" ]
236- "**__init__.py" = [" ALL" ]
235+ "**__init__.py" = [" ALL" ]
You can’t perform that action at this time.
0 commit comments