forked from Pr0Ger/PyAPNs2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (50 loc) · 1.23 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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool]
[tool.poetry]
name = "apns2"
version = "0.7.3"
description = "A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol"
readme = 'README.md'
authors = [
"Sergey Petrov <me@pr0ger.prg>"
]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries"
]
[tool.poetry.dependencies]
python = ">=3.7"
cryptography = ">=1.7.2"
hyper = ">=0.7"
pyjwt = ">=2.0.0"
[tool.poetry.dev-dependencies]
pytest = "*"
freezegun = "*"
[tool.mypy]
python_version = "3.7"
strict = true
[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 = py37, py38, py39
isolated_build = True
[testenv]
whitelist_externals = poetry
commands =
poetry install -v
poetry run pytest {posargs}
"""