-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from maykinmedia/pyproject
Switch to `pyproject.toml`
- Loading branch information
Showing
16 changed files
with
161 additions
and
170 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
[flake8] | ||
max-line-length=88 | ||
exclude=env,.tox,doc |
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
4 changes: 3 additions & 1 deletion
4
digid_eherkenning/migrations/0004_alter_eherkenningconfiguration_loa.py
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
3 changes: 2 additions & 1 deletion
3
...nning/migrations/0005_alter_eherkenningconfiguration_eh_service_instance_uuid_and_more.py
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
1 change: 1 addition & 0 deletions
1
digid_eherkenning/migrations/0006_digidconfiguration_metadata_file_source_and_more.py
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
1 change: 1 addition & 0 deletions
1
digid_eherkenning/migrations/0007_eherkenningconfiguration_service_description_url.py
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 |
---|---|---|
@@ -0,0 +1,128 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "django-digid-eherkenning" | ||
version = "0.15.0" | ||
description = "A Django app for DigiD/eHerkenning authentication flows" | ||
authors = [ | ||
{name = "Maykin Media", email = "[email protected]"} | ||
] | ||
readme = "README.rst" | ||
license = {file = "LICENSE"} | ||
keywords = ["django", "authentication", "digid", "eherkenning", "eidas", "dutch", "nl", "netherlands"] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Django", | ||
"Framework :: Django :: 4.2", | ||
"Intended Audience :: Developers", | ||
"Operating System :: Unix", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft :: Windows", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
requires-python = ">=3.10" | ||
dependencies = [ | ||
"cryptography>=40.0.0", | ||
"django>=4.2.0", | ||
"django-sessionprofile", | ||
"django-simple-certmanager", | ||
"django-solo", | ||
"lxml>=4.7.1", | ||
"furl", | ||
"maykin-python3-saml>=1.16.0", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/maykinmedia/django-digid-eherkenning" | ||
Documentation = "https://django-digid-eherkenning.readthedocs.io/en/latest/" | ||
"Bug Tracker" = "https://github.com/maykinmedia/django-digid-eherkenning/issues" | ||
"Source Code" = "https://github.com/maykinmedia/django-digid-eherkenning" | ||
Changelog = "https://github.com/maykinmedia/django-digid-eherkenning/blob/master/CHANGELOG.rst" | ||
|
||
[project.optional-dependencies] | ||
oidc = [ | ||
"mozilla-django-oidc-db>=0.18.0", | ||
] | ||
tests = [ | ||
"django-test-migrations", | ||
"pytest", | ||
"pytest-django", | ||
"pytest-mock", | ||
"responses", | ||
"freezegun", | ||
"tox", | ||
"isort", | ||
"black", | ||
"flake8", | ||
] | ||
coverage = [ | ||
"pytest-cov", | ||
] | ||
docs = [ | ||
"sphinx", | ||
"sphinx-rtd-theme", | ||
"psycopg2", | ||
] | ||
release = [ | ||
"bump-my-version", | ||
"twine", | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["digid_eherkenning*"] | ||
namespaces = false | ||
|
||
[tool.isort] | ||
profile = "black" | ||
combine_as_imports = true | ||
known_django = "django" | ||
known_first_party="digid_eherkenning" | ||
sections=["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] | ||
skip = ["env", "node_modules", ".tox"] | ||
skip_glob = ["**/migrations/**"] | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["tests"] | ||
DJANGO_SETTINGS_MODULE = "tests.project.settings" | ||
markers = [ | ||
"callback: additional configuration for the callback fixture", | ||
"mock_backend: class/claims to be returned by the mock backend fixture", | ||
] | ||
|
||
[tool.bumpversion] | ||
current_version = "0.15.0" | ||
files = [ | ||
{filename = "pyproject.toml"}, | ||
{filename = "README.rst"}, | ||
{filename = "docs/conf.py"}, | ||
] | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
source = [ | ||
"digid_eherkenning" | ||
] | ||
omit = [ | ||
# migrations run while django initializes the test db | ||
"*/migrations/*", | ||
] | ||
|
||
[tool.coverage.report] | ||
skip_covered = true | ||
exclude_also = [ | ||
"if (typing\\.)?TYPE_CHECKING:", | ||
"@(typing\\.)?overload", | ||
"class .*\\(.*Protocol.*\\):", | ||
"@(abc\\.)?abstractmethod", | ||
"raise NotImplementedError", | ||
"\\.\\.\\.", | ||
"pass", | ||
] | ||
omit = [ | ||
"*/migrations/*", | ||
] |
Oops, something went wrong.