diff --git a/ruff.toml b/ruff.toml index e61ca8b0..70612985 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,4 +1,8 @@ [lint] +extend-select = [ + "C901", + "W", +] ignore = [ # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", diff --git a/setup.cfg b/setup.cfg index 3ea2ca08..71b66b39 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,8 +41,6 @@ testing = docs = # upstream sphinx >= 3.5 - # workaround for sphinx/sphinx-doc#11662 - sphinx < 7.2.5 jaraco.packaging >= 9.3 rst.linker >= 1.9 furo diff --git a/tox.ini b/tox.ini index 1da8497a..3604f01f 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,7 @@ extras = [testenv:diffcov] description = run tests and check that diff from main is covered deps = + {[testenv]deps} diff-cover commands = pytest {posargs} --cov-report xml