-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
120 lines (107 loc) · 2.83 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
[project]
name = "edutap.wallet_google"
version = "2.0.0a1.dev0"
description = "Library for Google Wallet Communication"
keywords = ["wallet", "google", "api", "pass"]
readme = "README.md"
authors = [
{name = "Philipp Auersperg-Castell", email = "[email protected]"},
{name = "Alexander Loechel", email = "[email protected]"},
{name = "Jens Klein", email = "[email protected]"},
]
requires-python = ">=3.10"
license = { text = "EUPL 1.2" }
# TODO for PEP 639 https://peps.python.org/pep-0639
# -> when implemented in PyPI, twine, pyroma, etc.
# add license-expression = EUPL-1.2
# add license-file = LICENSE
# remove license field
# remove License classifier
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 :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Operating System :: OS Independent",
]
dependencies = [
"cryptography",
"google-auth",
"pydantic-settings",
"pydantic[email]>=2.0",
]
[project.urls]
Source = "https://github.com/edutap-eu/edutap.wallet_google"
Issues = "https://github.com/edutap-eu/edutap.wallet_google/issues"
Documentation = "https://docs.edutap.eu/packages/edutap_wallet_google/index.html"
[project.optional-dependencies]
fastapi = [
"fastapi",
]
test = [
"pytest",
"pytest-cov",
"pytest-explicit",
"requests-mock",
"tox",
"fastapi",
"httpx",
]
typecheck = [
"google-auth-stubs",
"mypy",
"pytest-stub",
"types-cryptography",
"types-requests",
]
develop = [
"pdbpp",
"ipython",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
generate-fernet-key = "edutap.wallet_google.utils:generate_fernet_key"
[tool.hatch.build.targets.wheel]
packages = ["src/edutap"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
addopts = "--cov=edutap.wallet_google --cov-report term --cov-report html"
markers = [
"integration: Test are running against the real Google Wallet API, needs account configuration. (deselect with '-m \"not integration\"')",
]
# https://pypi.org/project/pytest-explicit/
explicit-only = [
"integration",
]
[tool.mypy]
mypy_path = "./src:./tests"
explicit_package_bases = true
[[tool.mypy.overrides]]
module = [
"cryptography.*",
]
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",
]