-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (100 loc) · 2.48 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[tool.poetry]
name = "netports"
version = "0.16.0"
description = "Python tools for managing ranges of VLANs, TCP/UDP ports, IP protocols, Interfaces"
authors = ["Vladimirs Prusakovs <[email protected]>"]
readme = "README.rst"
license = "Apache-2.0"
homepage = "https://github.com/vladimirs-git/netports"
repository = "https://github.com/vladimirs-git/netports"
keywords = ["networking", "port", "range", "tcp", "udp", "vlan", "ip"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: System :: Networking",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Natural Language :: English",
]
[tool.poetry.dependencies]
python = "^3.8"
#
packaging = "^23.2"
pydantic = "^2.8.2"
[tool.poetry.group.dev.dependencies]
dictdiffer = "^0.9.0"
mypy = "^2.0.1"
pygments = "^2.16.1"
pylint = "^3.2.6"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
restructuredtext-lint = "^1.4.0"
ruff = "^0.6.1"
twine = "^4.0.2"
types-tabulate = "^0.9.0.20240106"
typing-extensions = "^4.12.2"
vhelpers = "^0.3.0"
[tool.setuptools.package-data]
netports = ["py.typed"]
[tool.poetry.extras]
test = ["pytest"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/vladimirs-git/netports/issues"
"Download URL" = "https://github.com/vladimirs-git/netports/archive/refs/tags/0.16.0.tar.gz"
[tool.mypy]
python_version = "3.8"
[[tool.mypy.overrides]]
module = [
"dictdiffer.*",
]
[tool.pylint]
max-line-length = 100
disable = [
"fixme",
"R0801", # similar lines
]
[tool.pylint.message_control]
max-args = 6
max-returns = 13
max-locals = 16
max-public-methods = 22
[tool.pylint."tests.*"]
disable = [
"duplicate-code",
"protected-access",
"redefined-outer-name",
"too-few-public-methods",
"too-many-public-methods",
"unsubscriptable-object",
"unused-import",
"use-dict-literal",
"use-implicit-booleaness-not-comparison",
]
[tool.ruff]
exclude = [
".git",
".idea",
".mypy_cache",
".pytype",
".ruff_cache",
".venv",
"_notes",
"dist",
"examples",
"temp",
"tmp",
"venv",
]
line-length = 100
indent-width = 4
target-version = "py38"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false # arguments on separate lines
line-ending = "auto"
[tool.ruff.lint.pydocstyle]
convention = "pep257" # docstring style
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"