-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
74 lines (65 loc) · 1.54 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
[tool.poetry]
name = "rpkiclientweb"
version = "0.14.0"
license = "MIT"
keywords = ["rpki", "rpki-client", "validator", "metrics", "prometheus"]
description = "A web api for RPKI-client"
authors = ["Ties de Kock <[email protected]>"]
readme = "README.md"
repository = "https://github.com/ties/rpki-client-web"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License"
]
packages = [{include = "rpkiclientweb"}]
include = [
{ path = "util/rsync_timeout" }
]
[tool.poetry.dependencies]
python = "^3.10"
# required for python 3.12
aiohttp = "^3.9.2"
# Do not use extras syntax, since this pulls in old aiohttp, which depends on
# frozenlist which is not 3.12 compatible.
prometheus-async = "22.2.0"
PyYAML = "^6.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
tox = "^4.13.0"
isort = {extras = ["pyproject"], version = "^5.12.0"}
pytest-cov = "^4.0.0"
pytest-xdist = "^3.2.1"
ruff = "^0.3.0"
black = "^24.2.0"
twine = "^5.0.0"
check-manifest = "^0.49"
flake8 = "^7.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py310"]
include = '\.pyi?$'
extend-exclude = '''
/(
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
profile = "black"
[tool.ruff]
ignore = ["E501"]
[tool.pytest]
junit_family = "xunit2"
[settings]
# known_third_party = []