-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
74 lines (63 loc) · 1.31 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
[project]
name = "irrexplorer-cli"
version = "0.0.4"
description = "A command-line interface to query and explore IRR & BGP data from IRRexplorer.net"
readme = "README.md"
authors = [{name = "kiraum", email = "tfgoncalves@xpto.it" }]
dependencies = [
"httpx",
"rich",
"typer",
"pydantic",
"backoff",
"asyncio"
]
requires-python = ">=3.13"
[project.optional-dependencies]
dev = [
"pytest",
"black",
"ruff",
"mypy",
"pytest-asyncio",
"respx",
"pytest-cov",
"isort",
"pylint",
"pre-commit"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
packages = ["irrexplorer_cli"]
include = [
"irrexplorer_cli/py.typed",
]
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 120
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "B"]
[tool.mypy]
python_version = "3.13"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
[tool.black]
line-length = 120
[project.scripts]
irrexplorer = "irrexplorer_cli.main:app"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.pylint]
max-line-length = 120
disable = []
enable = "all"
good-names = ["i", "j", "k", "ex", "Run", "_", "id", "f"]