-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run pyproject.toml through
pyproject-fmt
- Loading branch information
Showing
1 changed file
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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", | ||
|
@@ -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" | ||
|