-
-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] pre-commit autoupdate (#945)
<!--pre-commit.ci start--> updates: - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.4](tox-dev/pyproject-fmt@1.8.0...2.0.4) - [github.com/adamchainz/django-upgrade: 1.16.0 → 1.17.0](adamchainz/django-upgrade@1.16.0...1.17.0) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Adam Johnson <[email protected]>
- Loading branch information
1 parent
4dea87e
commit 715d471
Showing
2 changed files
with
19 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
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 |
---|---|---|
|
@@ -8,17 +8,21 @@ requires = [ | |
name = "django-cors-headers" | ||
version = "4.3.1" | ||
description = "django-cors-headers is a Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS)." | ||
readme = {file = "README.rst", content-type = "text/x-rst"} | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
keywords = [ | ||
"api", | ||
"cors", | ||
"django", | ||
"middleware", | ||
"rest", | ||
] | ||
license = {text = "MIT"} | ||
maintainers = [{name = "Adam Johnson", email = "[email protected]"}] | ||
authors = [{name = "Otto Yiu", email = "[email protected]"}] | ||
license = { text = "MIT" } | ||
maintainers = [ | ||
{ name = "Adam Johnson", email = "[email protected]" }, | ||
] | ||
authors = [ | ||
{ name = "Otto Yiu", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
@@ -44,16 +48,15 @@ classifiers = [ | |
] | ||
dependencies = [ | ||
"asgiref>=3.6", | ||
"Django>=3.2", | ||
"django>=3.2", | ||
] | ||
[project.urls] | ||
Changelog = "https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst" | ||
Funding = "https://adamj.eu/books/" | ||
Repository = "https://github.com/adamchainz/django-cors-headers" | ||
urls.Changelog = "https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst" | ||
urls.Funding = "https://adamj.eu/books/" | ||
urls.Repository = "https://github.com/adamchainz/django-cors-headers" | ||
|
||
[tool.isort] | ||
add_imports = [ | ||
"from __future__ import annotations" | ||
"from __future__ import annotations", | ||
] | ||
force_single_line = true | ||
profile = "black" | ||
|
@@ -70,14 +73,14 @@ django_find_project = false | |
branch = true | ||
parallel = true | ||
source = [ | ||
"corsheaders", | ||
"tests", | ||
"corsheaders", | ||
"tests", | ||
] | ||
|
||
[tool.coverage.paths] | ||
source = [ | ||
"src", | ||
".tox/**/site-packages", | ||
"src", | ||
".tox/**/site-packages", | ||
] | ||
|
||
[tool.coverage.report] | ||
|