Skip to content

Commit 016bde1

Browse files
committed
update deprecated settings for ruff in pyproject.toml
1 parent 06adee6 commit 016bde1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,24 @@ ignore-words-list = "dne, compiletime"
3737
target-version = "py312"
3838
line-length = 120
3939
# Enable Pyflakes `E` and `F` codes by default.
40-
select = [
40+
lint.select = [
4141
"E", "W", # see: https://pypi.org/project/pycodestyle
4242
"F", # see: https://pypi.org/project/pyflakes
4343
"I", # isort
4444
"RUF100", # unnecessary noqa comment
4545
"UP", # pyupgrade
4646
]
47-
ignore = [
47+
lint.ignore = [
4848
"E731", # Do not assign a lambda expression, use a def
4949
"Q" # Ignore quotes
5050
]
5151
# Exclude a variety of commonly ignored directories.
5252
exclude = [
5353
"docs"
5454
]
55-
ignore-init-module-imports = true
55+
lint.ignore-init-module-imports = true
5656
format.quote-style = "preserve"
5757

58-
[tool.ruff.pydocstyle]
58+
[tool.ruff.lint.pydocstyle]
5959
# Use Google-style docstrings.
6060
convention = "google"

0 commit comments

Comments
 (0)