Skip to content

Commit c7d71e5

Browse files
committed
Fix pyproject Ruff deprecations
1 parent f1c6e50 commit c7d71e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ module = "tcod._libtcod"
146146
ignore_missing_imports = true
147147

148148
[tool.ruff]
149-
# https://beta.ruff.rs/docs/rules/
149+
extend-exclude = ["libtcod"] # Ignore submodule
150+
line-length = 120
151+
152+
[tool.ruff.lint] # https://docs.astral.sh/ruff/rules/
150153
select = [
151154
"C90", # mccabe
152155
"E", # pycodestyle
@@ -190,9 +193,6 @@ ignore = [
190193
"D206", # indent-with-spaces
191194
"W191", # tab-indentation
192195
]
193-
extend-exclude = ["libtcod"] # Ignore submodule
194-
line-length = 120
195196

196-
[tool.ruff.pydocstyle]
197-
# Use Google-style docstrings.
197+
[tool.ruff.lint.pydocstyle] # https://docs.astral.sh/ruff/settings/#lintpydocstyle
198198
convention = "google"

0 commit comments

Comments
 (0)