Skip to content

Commit

Permalink
Upgrade pyproject-fmt (#580)
Browse files Browse the repository at this point in the history
This version formats stably
  • Loading branch information
adamchainz committed May 14, 2024
1 parent 4177c6b commit ab021e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 10 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand All @@ -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"

0 comments on commit ab021e4

Please sign in to comment.