-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.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 = "cisco_acl"
version = "3.3.3"
description = "Python package to parse and manage Cisco ACL (Access Control List)"
authors = ["Vladimirs Prusakovs <[email protected]>"]
readme = "README.rst"
license = "Apache-2.0"
homepage = "https://github.com/vladimirs-git/cisco-acl"
repository = "https://github.com/vladimirs-git/cisco-acl"
keywords = ["cisco", "acl", "ios", "nexus", "nx-os"]
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"
netports = ">=0.12.1,<1.0.0"
vhelpers = ">=0.1.18,<1.0.0"
[tool.poetry.group.dev.dependencies]
dictdiffer = "^0.9.0"
mypy = "^1.9.0"
pylint = "^3.1.0"
pytest = "^8.1.1"
pytest-cov = "^5.0.0"
restructuredtext-lint = "^1.4.0"
ruff = "^0.3.7"
twine = "^5.0.0"
types-tabulate = "^0.9.0.3"
typing-extensions = "^4.11.0"
[tool.poetry.extras]
test = ["pytest"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/vladimirs-git/cisco-acl/issues"
"Download URL" = "https://github.com/vladimirs-git/cisco-acl/archive/refs/tags/3.3.3.tar.gz"
[tool.pylint]
max-line-length = 100
[tool.pylint.message_control]
max-args = 10
max-attributes = 13
max-returns=10
disable = [
"unnecessary-dunder-call",
"fixme",
]
[tool.pylint."examples.*"]
disable = [
"invalid-name",
]
[tool.pylint."tests.*"]
disable = [
"duplicate-code",
"line-too-long",
"protected-access",
"redefined-outer-name",
"too-few-public-methods",
"too-many-locals",
"too-many-public-methods",
"unsubscriptable-object",
"unused-import",
"use-dict-literal",
]
[tool.mypy]
python_version = "3.8"
[[tool.mypy.overrides]]
module = "dictdiffer.*"
ignore_missing_imports = true
[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
[tool.setuptools.package-data]
cisco_acl = ["py.typed"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"