forked from Pr0Ger/PyAPNs2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
72 lines (61 loc) · 1.41 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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool]
[tool.poetry]
name = "compat-fork-apns2"
packages = [{ include = "apns2" }]
version = "0.8.0"
description = "A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol"
readme = 'README.md'
authors = [
"Sergey Petrov <[email protected]>"
]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries"
]
[tool.poetry.dependencies]
python = ">=3.8"
cryptography = ">=1.7.2"
hyper = ">=0.7"
pyjwt = ">=2.0.0"
[tool.poetry.dev-dependencies]
pytest = "*"
freezegun = "*"
[tool.mypy]
python_version = "3.8"
strict = true
disallow_untyped_calls = true
disallow_untyped_defs = false
[tool.pylint.design]
max-args = 10
max-attributes = 10
[tool.pylint.format]
max-line-length = 120
[tool.pylint.'messages control']
disable = "missing-docstring, too-few-public-methods, locally-disabled, invalid-name"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38, py39
isolated_build = True
[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest {posargs}
[gh]
python =
3.14 = py314
3.13 = py313
3.12 = py312
3.11 = py311
3.10 = py310
3.9 = py39
3.8 = py38
"""