forked from network-observability/network-observability-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (71 loc) · 1.58 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "netobs"
version = "0.0.16"
description = "Utilities and Management Tools for Network Observability Book"
requires-python = ">=3.9"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
'typer[all]>=0.12.3',
'python-dotenv>=1.0.0',
'jmespath>=1.0.1',
'PyYAML>=6.0.1',
'netmiko==4.3.0',
'prometheus-api-client>=0.5.5',
'prefect>=2.17.1',
'ansible>=10.1.0',
]
dynamic = ["readme"]
[project.optional-dependencies]
dev = ["black", "flake8", "ruff", "pydocstyle"]
[tool.setuptools]
packages = ["netobs"]
[project.scripts]
netobs = "netobs.main:app"
[tool.setuptools.dynamic]
readme = {file = ["README.md"]}
[tool.ruff]
line-length = 120
# Enable Pyflakes `E` and `F` codes by default.
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = ["E501"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["A", "B", "C", "D", "E", "F"]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
per-file-ignores = {}
[tool.ruff.isort]
known-third-party = ["typer", "python-dotenv"]