From 1c64d03f10d9e50ecf227113a37309b58643f8bd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 17:17:03 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 49 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6afc0919..c953a025 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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" @@ -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"