-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
136 lines (126 loc) · 3.11 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "zgw-consumers"
version = "0.35.1"
description = "Configuration for service (OpenAPI 3 or other) consumers"
authors = [
{name = "Maykin Media", email = "[email protected]"}
]
readme = "README.rst"
license = {file = "LICENSE"}
keywords = ["Django", "ZGW", "Common Ground", "VNG", "API", "OpenAPI", "OAS", "mTLS"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.10"
dependencies = [
"django>=4.2",
"django-relativedelta>=2.0.0",
"django-solo",
"django-simple-certmanager>=1.4.1",
"requests",
"ape-pie",
"typing_extensions>=4.5.0",
"PyJWT>=2.0.0",
]
[project.urls]
Homepage = "https://github.com/maykinmedia/zgw-consumers"
Documentation = "https://zgw-consumers.readthedocs.io/en/latest/"
"Bug Tracker" = "https://github.com/maykinmedia/zgw-consumers/issues"
"Source Code" = "https://github.com/maykinmedia/zgw-consumers"
Changelog = "https://github.com/maykinmedia/zgw-consumers/blob/main/CHANGELOG.rst"
[project.optional-dependencies]
db = [
"psycopg2",
]
drf = [
"djangorestframework",
]
zds-client = [
"gemma-zds-client>=2.0.0",
]
# These are not the test requirements! They are extras to be installed when making use of `zgw_consumers.test`
testutils = [
"Faker>=0.7.0",
"factory-boy",
"requests-mock",
"pyyaml",
]
tests = [
"django-redis",
"pytest",
"pytest-django",
"requests-mock",
"freezegun",
"tox",
"isort",
"black",
"flake8",
"tabulate",
"pyquery",
]
coverage = [
"pytest-cov",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
]
release = [
"bump-my-version",
]
[tool.setuptools.packages.find]
include = ["zgw_consumers*"]
namespaces = false
[tool.isort]
profile = "black"
combine_as_imports = true
known_django = "django"
known_first_party="zgw_consumers"
sections=["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip = ["env", ".tox", ".history"]
[tool.pytest.ini_options]
testpaths = ["tests"]
DJANGO_SETTINGS_MODULE = "testapp.settings"
[tool.bumpversion]
current_version = "0.35.1"
files = [
{filename = "pyproject.toml"},
{filename = "README.rst"},
{filename = "zgw_consumers/locale/nl/LC_MESSAGES/django.po"},
{filename = "docs/conf.py"},
]
[tool.coverage.run]
branch = true
source = [
"zgw_consumers"
]
omit = [
"zgw_consumers/migrations/*",
]
[tool.coverage.report]
exclude_also = [
"if (typing\\.)?TYPE_CHECKING:",
"@(typing\\.)?overload",
"class .*\\(.*Protocol.*\\):",
"@(abc\\.)?abstractmethod",
"raise NotImplementedError",
"\\.\\.\\.",
"pass",
]
omit = [
"zgw_consumers/migrations/*",
]
[tool.coverage.html]
directory = "cover"