forked from amyasnikov/validity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (73 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
90 lines (73 loc) · 2.17 KB
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "netbox-validity"
version = "1.4.2"
description = "NetBox plugin for vendor-agnostic configuration compliance"
authors = [
{name = "Anton Miasnikov", email = "anton2008m@gmail.com"},
]
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: POSIX :: Linux",
"Framework :: Django",
"Topic :: System :: Networking",
"Topic :: Internet",
]
requires-python = ">=3.10"
dynamic = ["dependencies", "optional-dependencies"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[tool.setuptools.packages.find]
include = ["validity*"]
[tool.setuptools.package-data]
validity = ["*.html"]
[tool.setuptools.dynamic.dependencies]
file = ["requirements/base.txt"]
[tool.setuptools.dynamic.optional-dependencies]
dev = {file = ["requirements/dev.txt"]}
docs = {file = ["requirements/docs.txt"]}
[tool.black]
line-length = 120
skip_glob = ["*/migrations/*"]
[tool.isort]
profile = "black"
line_length = 120
no_lines_before = "LOCALFOLDER"
lines_after_imports = 2
skip_glob = ["*/migrations/*"]
skip_gitignore = true
known_first_party = ["validity"]
[tool.flake8]
max-line-length = 120
exclude = ["migrations", "__pycache__"]
per-file-ignores = ["__init__.py:F401"]
extend-ignore = "E203"
[tool.pytest.ini_options]
addopts = "-p no:warnings -vv --no-migrations"
testpaths = ["validity/tests"]
DJANGO_SETTINGS_MODULE = "netbox.settings"
pythonpath = ["/opt/netbox/netbox"]
[tool.coverage.run]
branch = true
omit = [
"validity/tests/*",
"validity/migrations/*",
]
source = ["validity"]
[tool.coverage.report]
show_missing = true
fail_under = 75