-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (39 loc) · 1.51 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[project]
name = "django-cdt-identity"
dynamic = ["version"]
description = "Django client for identity proofing and claims verification with the California Department of Technology's Identity Gateway."
readme = "README.md"
license = { file = "LICENSE" }
classifiers = ["Programming Language :: Python :: 3 :: Only"]
requires-python = ">=3.12"
maintainers = [{ name = "Compiler LLC", email = "[email protected]" }]
dependencies = ["Authlib>=1.4.1", "Django>=5.1.0", "requests>=2.32.3"]
[project.optional-dependencies]
dev = ["black", "djlint", "flake8", "pre-commit", "setuptools_scm>=8"]
test = ["coverage", "pytest", "pytest-django", "pytest-mock", "pytest-socket"]
[project.urls]
Code = "https://github.com/compilerla/django-cdt-identity"
Issues = "https://github.com/compilerla/django-cdt-identity/issues"
[build-system]
requires = ["setuptools>=75", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 127
target-version = ["py312"]
include = '\.pyi?$'
[tool.coverage.run]
branch = true
relative_files = true
source = ["cdt_identity"]
[tool.pyright]
include = ["cdt_identity", "tests"]
typeCheckingMode = "off"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
# see https://pytest-django.readthedocs.io/en/latest/managing_python_path.html#managing-the-python-path-explicitly
django_find_project = false
[tool.setuptools.packages.find]
include = ["cdt_identity*"]
namespaces = false
[tool.setuptools_scm]
# intentionally left blank, but we need the section header to activate the tool