-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
66 lines (56 loc) · 1.63 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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.poe.env]
DIRS = "netsome tests"
[tool.poe.tasks.lint]
default_item_type = "cmd"
sequence = [
"poetry run basedpyright",
"poetry run ruff check --no-fix $DIRS",
"poetry run toml-sort --check pyproject.toml"
]
[tool.poe.tasks.pretty]
default_item_type = "cmd"
sequence = [
"poetry run ruff check --fix $DIRS",
"poetry run ruff format $DIRS",
"poetry run toml-sort --in-place --all pyproject.toml"
]
[tool.poe.tasks.tests]
cmd = "poetry run pytest -vvv --cov=netsome --cov-report html"
[tool.poetry]
authors = ["kuderr <[email protected]>"]
classifiers = [
"Development Status :: 1 - Planning",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Networking"
]
description = "The one and only library to make your network code handsome"
keywords = ["library", "network"]
license = "X11 License Distribution Modification Variant"
name = "netsome"
readme = "README.md"
repository = "https://github.com/kuderr/netsome"
version = "0.3.27"
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.group.dev.dependencies]
basedpyright = "^1.19.1"
poethepoet = "^0.25.0"
pytest = "7"
pytest-cov = "^5.0.0"
pytest-lazy-fixture = "^0.6.3"
ruff = "^0.3.5"
toml-sort = "^0.23.1"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/kuderr/netsome/issues"
"Homepage" = "https://github.com/kuderr/netsome"
[tool.pyright]
exclude = [".venv", "dist", "tests"]
reportAny = false
reportImplicitOverride = false
reportMissingSuperCall = false
typeCheckingMode = 'all'
[tool.pytest.ini_options]
addopts = "-ra --log-level=DEBUG --showlocals --verbose"