-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move tests into tests/ directory * gitignore * Have the tests build a wheel as an artifact * Switch to pyproject.toml and upgrade .github workflows Closes #34
- Loading branch information
Showing
6 changed files
with
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.venv | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
venv | ||
.eggs | ||
.pytest_cache | ||
*.egg-info | ||
.DS_Store | ||
dist | ||
build |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[project] | ||
name = "asgi-csrf" | ||
version = "0.1" | ||
description = "ASGI middleware for protecting against CSRF attacks" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
authors = [{name = "Simon Willison"}] | ||
license = {text = "Apache-2.0"} | ||
classifiers = [ | ||
"License :: OSI Approved :: Apache Software License" | ||
] | ||
dependencies = [ | ||
"itsdangerous", | ||
"python-multipart" | ||
] | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/simonw/asgi-csrf" | ||
Changelog = "https://github.com/simonw/asgi-csrf/releases" | ||
Issues = "https://github.com/simonw/asgi-csrf/issues" | ||
CI = "https://github.com/simonw/asgi-csrf/actions" | ||
|
||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
"pytest-asyncio", | ||
"httpx>=0.16", | ||
"starlette", | ||
"pytest-cov", | ||
"asgi-lifespan", | ||
] |
File renamed without changes.