Skip to content

Commit a0f598c

Browse files
committed
Update pyproject Ruff config sections.
1 parent 6e1c1be commit a0f598c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,13 @@ exclude = '''
166166
'''
167167

168168
[tool.ruff]
169-
ignore = ["B905", "E501"]
170169
line-length = 88
170+
171+
[tool.ruff.lint]
172+
ignore = ["B905", "E501"]
171173
select = ["B", "B9", "C", "E", "F", "W"]
172174

173-
[tool.ruff.mccabe]
175+
[tool.ruff.lint.mccabe]
174176
max-complexity = 10
175177

176178
[tool.setuptools.packages.find]

0 commit comments

Comments
 (0)