-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
78 lines (70 loc) · 1.57 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
[project]
name = "storekit-python"
version = "0.0.2"
description = "The Storekit Python library provides support for in-app purchases and interactions with the App Store."
authors = [
{ name = "crowser", email = "[email protected]" },
]
dependencies = [
"requests>=2.12.0",
"pydantic>=1.9.0",
"PyJWT>=2.6.0",
"cryptography>=38.0.0",
]
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
readme = "README.md"
license = { text = "MIT" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pdm.dev-dependencies]
lint = [
"pip",
"pre-commit",
"mypy",
]
test = [
"coverage[toml]",
"dirty-equals",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-pretty",
"pytest-examples",
]
[tool.ruff]
line-length = 120
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
]
[tool.isort]
profile = "black"
line_length = 120
[tool.black]
target-version = ["py37", "py38", "py39", "py310"]
line-length = 120
[tool.mypy]
plugins = ["pydantic.mypy"]
disallow_untyped_defs = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[tool.coverage.run]
source = ['storekit']
branch = true
context = '${CONTEXT}'