Skip to content

Commit 154d3dd

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 13bc080 commit 154d3dd

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

poetry.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ exclude_lines = [
115115

116116
[tool.ruff]
117117
target-version = "py38"
118+
119+
[tool.ruff.lint]
118120
select = [
119121
"E", # pycodestyle
120122
"F", # pyflakes
@@ -131,16 +133,16 @@ select = [
131133
"D", # pydocstyle
132134
]
133135

134-
[tool.ruff.isort]
136+
[tool.ruff.lint.isort]
135137
known-first-party = [
136138
"libtmux",
137139
]
138140
combine-as-imports = true
139141

140-
[tool.ruff.pydocstyle]
142+
[tool.ruff.lint.pydocstyle]
141143
convention = "numpy"
142144

143-
[tool.ruff.per-file-ignores]
145+
[tool.ruff.lint.per-file-ignores]
144146
"*/__init__.py" = ["F401"]
145147

146148
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)