-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
125 lines (109 loc) · 2.78 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
116
117
118
119
120
121
122
123
124
125
[build-system]
requires = [
"setuptools>=67.6.0",
"wheel>=0.40.0"
]
build-backend = "setuptools.build_meta"
[project]
name = "pyats-genie-command-parse"
dynamic = ["version", "readme"]
requires-python = ">=3.9"
description = "Run genie parsers directly."
keywords = [
"pyATS",
"genie",
"cisco",
"ios",
"ios-xr",
"nxos",
"parse",
"wrapper",
]
authors = [
{ name="Benjamin P. Trachtenberg", email="[email protected]" },
{ name="Brett Gianpetro", email="[email protected]" },
]
maintainers = [
{name = "Benjamin P. Trachtenberg", email = "[email protected]"},
]
license = "MIT"
license-files = [
"LICENSE"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: POSIX :: BSD",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"genie==25.2",
"pyats==25.2",
]
[dependency-groups]
dev = [
"bandit>=1.8.3",
"black>=25.1.0",
"pylint>=3.3.6",
"pytest-cov>=4.1.0",
"sphinx>=7.4.7",
"tomli>=2.2.1",
]
[project.urls]
Documentation = "https://pyats-genie-command-parse.readthedocs.io/en/latest/"
Source = "https://github.com/btr1975/pyats-genie-command-parse"
Tracker = "https://github.com/btr1975/pyats-genie-command-parse/issues"
[tool.setuptools.packages.find]
include = [
"pyats_genie_command_parse*",
]
# Add or remove file extensions to include the data
[tool.setuptools.package-data]
"*" = ["*.txt", "*.rst"]
[tool.setuptools]
zip-safe = false
[tool.setuptools.dynamic]
version = {attr = "pyats_genie_command_parse.version.__version__"}
readme = {file = "README.md", content-type = "text/markdown"}
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [
"generic_tests: marks tests as generic_tests (deselect with -m not generic_tests)",
"ios_tests: marks tests as ios_tests (deselect with -m not ios_tests)",
]
[tool.coverage.run]
command_line= "-m pytest -vvv"
[tool.coverage.report]
include = [
"pyats_genie_command_parse/*"
]
fail_under = 70
[tool.pylint]
max-line-length = 120
# This allows pylint to complain on FIXME and XXX notes
notes = [
"FIXME",
"XXX",
]
fail-under = 9.9
[tool.black]
line-length = 120
[tool.bandit]
exclude_dirs = [
"tests",
"venv",
"docs",
]
# UV settings reference https://docs.astral.sh/uv/reference/settings/
[tool.uv]
keyring-provider = "subprocess"
native-tls = true