diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b2c27d..8712092 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: 2.0.3 + rev: 2.1.0 hooks: - id: pyproject-fmt - repo: https://github.com/tox-dev/tox-ini-fmt diff --git a/pyproject.toml b/pyproject.toml index c953a02..85c5258 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,7 @@ optional-dependencies.brotli = [ urls.Changelog = "https://whitenoise.readthedocs.io/en/stable/changelog.html" urls.Documentation = "https://whitenoise.readthedocs.io/" urls.Repository = "https://github.com/evansd/whitenoise" + [tool.isort] add_imports = [ "from __future__ import annotations", @@ -61,15 +62,6 @@ addopts = """\ --strict-markers """ -[tool.coverage.report] -show_missing = true - -[tool.coverage.paths] -source = [ - "src", - ".tox/**/site-packages", -] - [tool.coverage.run] branch = true parallel = true @@ -78,5 +70,14 @@ source = [ "tests", ] +[tool.coverage.paths] +source = [ + "src", + ".tox/**/site-packages", +] + +[tool.coverage.report] +show_missing = true + [tool.rstcheck] report_level = "ERROR"