Skip to content

Commit

Permalink
Run pyproject.toml through pyproject-fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed Jun 19, 2024
1 parent 9b2cee0 commit d8c68a2
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ name = "django-csp"
version = "3.8"
description = "Django Content Security Policy support."
readme = "README.rst"
license = {text = "BSD"}
maintainers = [{name = "Mozilla MEAO team", email = "[email protected]"}]
authors = [{name = "James Socol", email = "[email protected]"}]
license = { text = "BSD" }
maintainers = [
{ name = "Mozilla MEAO team", email = "[email protected]" },
]
authors = [
{ name = "James Socol", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
Expand All @@ -23,8 +27,7 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -35,32 +38,30 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"Django>=3.2",
"django>=3.2",
]
[project.optional-dependencies]
jinja2 = [
optional-dependencies.jinja2 = [
"jinja2>=2.9.6",
]
tests = [
optional-dependencies.tests = [
"jinja2>=2.9.6",
"pytest",
"pytest-cov",
"pytest-django",
"pytest-ruff",
]
[project.urls]
"Bug Tracker" = "https://github.com/mozilla/django-csp/issues"
Changelog = "https://github.com/mozilla/django-csp/blob/main/CHANGES"
Documentation = "http://django-csp.readthedocs.org/"
Homepage = "http://github.com/mozilla/django-csp"
"Source Code" = "https://github.com/mozilla/django-csp"
urls."Bug Tracker" = "https://github.com/mozilla/django-csp/issues"
urls.Changelog = "https://github.com/mozilla/django-csp/blob/main/CHANGES"
urls.Documentation = "http://django-csp.readthedocs.org/"
urls.Homepage = "http://github.com/mozilla/django-csp"
urls."Source Code" = "https://github.com/mozilla/django-csp"

[tool.setuptools]
zip-safe = false
include-package-data = true

[tool.setuptools.packages]
find = {namespaces = false}
find = { namespaces = false }

[tool.pytest.ini_options]
addopts = "-vs --tb=short --ruff --ruff-format"
Expand Down

0 comments on commit d8c68a2

Please sign in to comment.