-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (59 loc) · 1.52 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
[tool.poetry]
name = "dioptra-zeph"
version = "1.3.0"
description = "An orchestrator for distributed IP tracing"
authors = ["Matthieu Gouel <matthieu.gouel@protonmail.com>"]
homepage = "https://github.com/dioptra-io/zeph"
readme = "README.md"
license = "MIT"
packages = [
{ include = "zeph" },
{ include = "zeph_utils" },
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
diamond-miner = "^1.0.5"
dioptra-iris-client = "^0.5.0"
pyasn = "^1.6.2"
pych-client = {extras = ["orjson"], version = "^0.4.0"}
py-radix = "^0.10.0"
requests = "^2.31.0"
tqdm = "^4.66.1"
typer = "^0.9.0"
[tool.poetry.dev-dependencies]
black = "^23.10.1"
bump2version = "^1.0.1"
flake8 = "^6.1.0"
mypy = "^1.6.1"
pre-commit = "^3.5.0"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
[tool.poetry.scripts]
zeph = "zeph.main:app"
zeph-bgp-convert = "zeph_utils.zeph_bgp_convert:run"
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:$",
"if __name__ == \"__main__\":$",
"pass$",
"\\s\\.\\.\\.$",
"raise NotImplementedError$"
]
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
implicit_reexport = false
no_implicit_optional = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
[tool.pytest.ini_options]
addopts = "--capture=no --doctest-modules --log-cli-level=info --strict-markers --verbosity=2"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"