Skip to content

Commit d8c68a2

Browse files
author
Rob Hudson
committed
Run pyproject.toml through pyproject-fmt
1 parent 9b2cee0 commit d8c68a2

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

pyproject.toml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ name = "django-csp"
99
version = "3.8"
1010
description = "Django Content Security Policy support."
1111
readme = "README.rst"
12-
license = {text = "BSD"}
13-
maintainers = [{name = "Mozilla MEAO team", email = "[email protected]"}]
14-
authors = [{name = "James Socol", email = "[email protected]"}]
12+
license = { text = "BSD" }
13+
maintainers = [
14+
{ name = "Mozilla MEAO team", email = "[email protected]" },
15+
]
16+
authors = [
17+
{ name = "James Socol", email = "[email protected]" },
18+
]
1519
classifiers = [
1620
"Development Status :: 5 - Production/Stable",
1721
"Environment :: Web Environment",
@@ -23,8 +27,7 @@ classifiers = [
2327
"License :: OSI Approved :: BSD License",
2428
"Operating System :: OS Independent",
2529
"Programming Language :: Python",
26-
"Programming Language :: Python",
27-
"Programming Language :: Python :: 3",
30+
"Programming Language :: Python :: 3 :: Only",
2831
"Programming Language :: Python :: 3.8",
2932
"Programming Language :: Python :: 3.9",
3033
"Programming Language :: Python :: 3.10",
@@ -35,32 +38,30 @@ classifiers = [
3538
"Topic :: Software Development :: Libraries :: Python Modules",
3639
]
3740
dependencies = [
38-
"Django>=3.2",
41+
"django>=3.2",
3942
]
40-
[project.optional-dependencies]
41-
jinja2 = [
43+
optional-dependencies.jinja2 = [
4244
"jinja2>=2.9.6",
4345
]
44-
tests = [
46+
optional-dependencies.tests = [
4547
"jinja2>=2.9.6",
4648
"pytest",
4749
"pytest-cov",
4850
"pytest-django",
4951
"pytest-ruff",
5052
]
51-
[project.urls]
52-
"Bug Tracker" = "https://github.com/mozilla/django-csp/issues"
53-
Changelog = "https://github.com/mozilla/django-csp/blob/main/CHANGES"
54-
Documentation = "http://django-csp.readthedocs.org/"
55-
Homepage = "http://github.com/mozilla/django-csp"
56-
"Source Code" = "https://github.com/mozilla/django-csp"
53+
urls."Bug Tracker" = "https://github.com/mozilla/django-csp/issues"
54+
urls.Changelog = "https://github.com/mozilla/django-csp/blob/main/CHANGES"
55+
urls.Documentation = "http://django-csp.readthedocs.org/"
56+
urls.Homepage = "http://github.com/mozilla/django-csp"
57+
urls."Source Code" = "https://github.com/mozilla/django-csp"
5758

5859
[tool.setuptools]
5960
zip-safe = false
6061
include-package-data = true
6162

6263
[tool.setuptools.packages]
63-
find = {namespaces = false}
64+
find = { namespaces = false }
6465

6566
[tool.pytest.ini_options]
6667
addopts = "-vs --tb=short --ruff --ruff-format"

0 commit comments

Comments
 (0)