Skip to content

Commit 28bfaf9

Browse files
authored
Enable ruff's flake8-commas (COM) and refurb (FURB) rules (#3531)
1 parent 17c0a84 commit 28bfaf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,14 @@ select = [
9090
"B", # flake8-bugbear
9191
"BLE", # flake8-blind-except
9292
"C4", # flake8-comprehensions
93+
"COM", # flake8-commas
9394
"D", # pydocstyle
9495
"E", # pycodestyle
9596
"EXE", # flake8-executable
9697
"F", # pyflakes
9798
"FA", # flake8-future-annotations
9899
"FLY", # flynt
100+
"FURB", # refurb
99101
"I", # isort
100102
"ICN", # flake8-import-conventions
101103
"ISC", # flake8-implicit-str-concat
@@ -127,6 +129,7 @@ extend-select = [
127129
"PLW1514", # {function_name} in text mode without explicit encoding argument
128130
]
129131
ignore = [
132+
"COM812", # Do not always add the trailing commas
130133
"D200", # One-line docstring should fit on one line
131134
"D202", # No blank lines allowed after function docstring
132135
"D205", # 1 blank line required between summary line and description

0 commit comments

Comments
 (0)