Skip to content

Commit ac40237

Browse files
committed
Address ruff warnings
Found while running pre-commit in verbose mode: ```shell $ pre-commit run -av ruff ... warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: - 'select' -> 'lint.select' - 'flake8-quotes' -> 'lint.flake8-quotes' ```
1 parent d2dee3b commit ac40237

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,14 @@ testpaths = [
132132

133133
[tool.ruff]
134134
line-length = 120
135+
136+
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
137+
138+
[tool.ruff.lint]
135139
select = ["E", "F", "W", "C901", "Q"]
136140

137141
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
138142

139-
[tool.ruff.flake8-quotes]
143+
[tool.ruff.lint.flake8-quotes]
140144
docstring-quotes = "double"
141145
inline-quotes = "double"

0 commit comments

Comments
 (0)