diff --git a/pyproject.toml b/pyproject.toml index 2a61cdaf..01aa1a3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ commands = [tool.ruff] src = ["src", "tests"] line-length = 88 -select = [ +lint.select = [ "E", # pycodestyle errors - https://beta.ruff.rs/docs/rules/#error-e "F", # pyflakes rules - https://beta.ruff.rs/docs/rules/#pyflakes-f "W", # pycodestyle warnings - https://beta.ruff.rs/docs/rules/#warning-w diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index b9303e18..57812c98 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -98,11 +98,10 @@ commands = docs: sphinx-{posargs:build -EW --keep-going} -T docs build/html """ - [tool.ruff] src = ["src", "tests"] line-length = 88 -select = [ +lint.select = [ "C4", # flake8-comprehensions - https://beta.ruff.rs/docs/rules/#flake8-comprehensions-c4 "E", # pycodestyle errors - https://beta.ruff.rs/docs/rules/#error-e "F", # pyflakes rules - https://beta.ruff.rs/docs/rules/#pyflakes-f