From c7d71e58f7b80a6ba5cd8ce77d0e38846d4e72e1 Mon Sep 17 00:00:00 2001 From: Kyle Benesch <4b796c65+github@gmail.com> Date: Tue, 12 Mar 2024 22:16:20 -0700 Subject: [PATCH] Fix pyproject Ruff deprecations --- pyproject.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b4c0490a..97ee6190 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 @@ -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"