Skip to content

Commit 1e56719

Browse files
committed
pyproject(ruff): Updates for 0.2.0
warning: The top-level linter settings are deprecated in favour of their counterparts in the section. Please update the following options in : - 'select' -> 'lint.select' - 'isort' -> 'lint.isort' - 'pydocstyle' -> 'lint.pydocstyle' - 'per-file-ignores' -> 'lint.per-file-ignores'
1 parent bf2c691 commit 1e56719

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

poetry.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ exclude_lines = [
143143

144144
[tool.ruff]
145145
target-version = "py39"
146+
147+
[tool.ruff.lint]
146148
select = [
147149
"E", # pycodestyle
148150
"F", # pyflakes
@@ -159,16 +161,16 @@ select = [
159161
"D", # pydocstyle
160162
]
161163

162-
[tool.ruff.pydocstyle]
164+
[tool.ruff.lint.pydocstyle]
163165
convention = "numpy"
164166

165-
[tool.ruff.isort]
167+
[tool.ruff.lint.isort]
166168
known-first-party = [
167169
"vcspull",
168170
]
169171
combine-as-imports = true
170172

171-
[tool.ruff.per-file-ignores]
173+
[tool.ruff.lint.per-file-ignores]
172174
"*/__init__.py" = ["F401"]
173175

174176
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)