-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
113 lines (100 loc) · 2.59 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
[project]
name = "edutap.wallet-apple"
version = "1.0.0a2.dev0"
description = "Library for Apple Wallet Communication"
keywords = ["wallet", "apple", "api", "pass", 'fastapi', 'digital identity']
readme = "README.md"
authors = [
{name = "Alexander Loechel", email = "[email protected]"},
{name = "Philipp Auersperg-Castell", email = "[email protected]"},
{name = "Jens Klein", email = "[email protected]"},
{name = "Robert Niederreiter", email = "[email protected]"},
]
requires-python = ">=3.10"
license = { text = "EUPL 1.2" }
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Operating System :: OS Independent",
]
dependencies = [
"cryptography",
"pydantic-settings>=2.6.1",
"pydantic[email]>=2.10.3",
"httpx",
"pyyaml",
"structlog",
]
[project.urls]
Source = "https://github.com/edutap-eu/edutap.wallet_apple"
Issues = "https://github.com/edutap-eu/edutap.wallet_apple/issues"
Documentation = "https://docs.edutap.eu/packages/edutap_wallet_apple/index.html"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"requests-mock",
"fastapi",
"httpx",
]
fastapi = [
"fastapi",
"uvicorn",
"h2",
"httpx",
]
typecheck = [
"mypy",
"pytest-stub",
"types-PyYAML",
"types-requests",
]
develop = [
"ipython",
"pdbpp",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/edutap"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
addopts = "--cov=edutap.wallet_apple --cov-report term --cov-report html"
markers = [
"integration: Test are running against the real Apple Wallet API, needs account configuration. (deselect with '-m \"not integration\"')",
]
[tool.mypy]
mypy_path = "./src:./tests"
explicit_package_bases = true
[[tool.mypy.overrides]]
module = [
"cryptography.*",
"httpx.*",
]
ignore_missing_imports = true
[tool.isort]
profile = "plone"
src_paths = ["src", "tests"]
[tool.black]
target-version = ["py310"]
include = "src,tests"
[tool.codespell]
ignore-words-list = "discreet,"
[tool.check-manifest]
ignore = [
".editorconfig",
".pre-commit-config.yaml",
"tox.ini",
".flake8",
"tests/data/generated_passes/*",
]