Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#579)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.3](tox-dev/pyproject-fmt@1.8.0...2.0.3)
- [github.com/adamchainz/django-upgrade: 1.16.0 → 1.17.0](adamchainz/django-upgrade@1.16.0...1.17.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed May 14, 2024
1 parent acfe646 commit 4177c6b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .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: 1.8.0
rev: 2.0.3
hooks:
- id: pyproject-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
Expand All @@ -38,7 +38,7 @@ repos:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.16.0
rev: 1.17.0
hooks:
- id: django-upgrade
args: [--target-version, '3.2']
Expand Down
49 changes: 24 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ requires = [
name = "whitenoise"
version = "6.6.0"
description = "Radically simplified static file serving for WSGI applications"
readme = {file = "README.rst", content-type = "text/x-rst"}
readme = { file = "README.rst", content-type = "text/x-rst" }
keywords = [
"Django",
]
license = {text = "MIT"}
license = { text = "MIT" }
maintainers = [
{name = "Adam Johnson", email="me@adamj.eu"},
{name = "David Evans"},
{ name = "Adam Johnson", email = "me@adamj.eu" },
{ name = "David Evans" },
]
authors = [
{ name = "David Evans" },
]
authors = [{name = "David Evans"}]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -40,18 +42,15 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Typing :: Typed",
]
[project.optional-dependencies]
brotli = [
"Brotli",
optional-dependencies.brotli = [
"brotli",
]
[project.urls]
Changelog = "https://whitenoise.readthedocs.io/en/stable/changelog.html"
Documentation = "https://whitenoise.readthedocs.io/"
Repository = "https://github.com/evansd/whitenoise"

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"
"from __future__ import annotations",
]
force_single_line = true
profile = "black"
Expand All @@ -62,22 +61,22 @@ addopts = """\
--strict-markers
"""

[tool.coverage.run]
branch = true
parallel = true
source = [
"whitenoise",
"tests",
]
[tool.coverage.report]
show_missing = true

[tool.coverage.paths]
source = [
"src",
".tox/**/site-packages",
"src",
".tox/**/site-packages",
]

[tool.coverage.report]
show_missing = true
[tool.coverage.run]
branch = true
parallel = true
source = [
"whitenoise",
"tests",
]

[tool.rstcheck]
report_level = "ERROR"

0 comments on commit 4177c6b

Please sign in to comment.