Skip to content

Commit 4b0c5f2

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 074597d commit 4b0c5f2

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
@@ -134,6 +134,8 @@ exclude_lines = [
134134

135135
[tool.ruff]
136136
target-version = "py39"
137+
138+
[tool.ruff.lint]
137139
select = [
138140
"E", # pycodestyle
139141
"F", # pyflakes
@@ -150,16 +152,16 @@ select = [
150152
"D", # pydocstyle
151153
]
152154

153-
[tool.ruff.isort]
155+
[tool.ruff.lint.isort]
154156
known-first-party = [
155157
"libvcs",
156158
]
157159
combine-as-imports = true
158160

159-
[tool.ruff.pydocstyle]
161+
[tool.ruff.lint.pydocstyle]
160162
convention = "numpy"
161163

162-
[tool.ruff.per-file-ignores]
164+
[tool.ruff.lint.per-file-ignores]
163165
"*/__init__.py" = ["F401"]
164166

165167
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)