Skip to content

Commit

Permalink
Fix pyproject Ruff deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Mar 13, 2024
1 parent f1c6e50 commit c7d71e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyproject.toml
Expand Up @@ -146,7 +146,10 @@ module = "tcod._libtcod"
ignore_missing_imports = true

[tool.ruff]
# https://beta.ruff.rs/docs/rules/
extend-exclude = ["libtcod"] # Ignore submodule
line-length = 120

[tool.ruff.lint] # https://docs.astral.sh/ruff/rules/
select = [
"C90", # mccabe
"E", # pycodestyle
Expand Down Expand Up @@ -190,9 +193,6 @@ ignore = [
"D206", # indent-with-spaces
"W191", # tab-indentation
]
extend-exclude = ["libtcod"] # Ignore submodule
line-length = 120

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

0 comments on commit c7d71e5

Please sign in to comment.