-
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.
Update pre-commit, add pyproject-fmt, run on all files
- Loading branch information
Showing
7 changed files
with
55 additions
and
49 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
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
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
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
sphinx_rtd_theme | ||
sphinx_rtd_theme |
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 |
---|---|---|
@@ -1,55 +1,59 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=61.2", | ||
] | ||
|
||
[project] | ||
name = "django_csp" | ||
name = "django-csp" | ||
version = "3.8" | ||
description = "Django Content Security Policy support." | ||
readme = "README.rst" | ||
authors = [{name = "James Socol", email = "[email protected]"}] | ||
maintainers = [{name = "Mozilla MEAO team", 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", | ||
"Environment :: Web Environment :: Mozilla", | ||
"Programming Language :: Python", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.2", | ||
"Framework :: Django :: 5.0", | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Environment :: Web Environment :: Mozilla", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.2", | ||
"Framework :: Django :: 5.0", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"Django>=3.2", | ||
] | ||
dependencies = ["Django>=3.2"] | ||
|
||
[project.urls] | ||
Homepage = "http://github.com/mozilla/django-csp" | ||
Documentation = "http://django-csp.readthedocs.org/" | ||
Changelog = "https://github.com/mozilla/django-csp/blob/main/CHANGES" | ||
"Bug Tracker" = "https://github.com/mozilla/django-csp/issues" | ||
"Source Code" = "https://github.com/mozilla/django-csp" | ||
|
||
[project.optional-dependencies] | ||
jinja2 = [ | ||
"jinja2>=2.9.6", | ||
] | ||
tests = [ | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-django", | ||
"pytest-ruff", | ||
"jinja2>=2.9.6", | ||
"jinja2>=2.9.6", | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-django", | ||
"pytest-ruff", | ||
] | ||
jinja2 = ["jinja2>=2.9.6"] | ||
[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" | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
|