Skip to content

Commit 559d9b0

Browse files
[ruff] Add consider-merging-multiple-comparison
It's long so it's formatting the pyproject.toml to avoid conflict
1 parent b409cb6 commit 559d9b0

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pyproject.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,14 @@ line-length = 120
6767
[tool.ruff]
6868
line-length = 120
6969
lint.select = [
70-
"B", # bugbear
71-
"E", # pycodestyle
72-
"F", # pyflakes
73-
"I", # isort
74-
"RUF", # ruff
75-
"UP", # pyupgrade
76-
"W", # pycodestyle
70+
"B", # bugbear
71+
"E", # pycodestyle
72+
"F", # pyflakes
73+
"I", # isort
74+
"PLR1714", # Consider merging multiple comparisons
75+
"RUF", # ruff
76+
"UP", # pyupgrade
77+
"W", # pycodestyle
7778
]
7879
lint.ignore = [
7980
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`

0 commit comments

Comments
 (0)