-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
99 lines (87 loc) · 2.08 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
# See PEP 518 for the spec of this file
# https://www.python.org/dev/peps/pep-0518/
[build-system]
requires = ["setuptools>=63.2.0", "wheel", "setuptools_scm[toml]>=8.0"]
[project]
name = "netbox_python"
authors = [
{name = "Arthur Hanson", email = "ahanson@netboxlabs.com"},
]
description = "NetBox Python API Client."
readme = "README.md"
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
"Programming Language :: Python :: 3 :: Only",
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
requires-python = ">=3.8.1"
dynamic = ["version"]
dependencies = [
'requests>=2.20.0,<3.0',
]
[project.optional-dependencies]
test = [
"bandit[toml]==1.7.5",
"black==23.3.0",
"check-manifest==0.49",
"flake8-bugbear==23.5.9",
"flake8",
"flake8-pyproject",
"pre-commit==3.3.1",
"pylint==2.17.4",
"pytest-mock<3.10.1",
"pytest-runner",
"pytest==7.3.1",
"pytest-github-actions-annotate-failures",
"shellcheck-py==0.9.0.2"
]
[project.urls]
Documentation = "https://github.com/netbox-community/netbox_python/blob/main/README.md"
Source = "https://github.com/netbox-community/netbox_python"
Tracker = "https://github.com/netbox-community/netbox_python/issues"
[tool.bandit]
exclude_dirs = ["build","dist","tests","scripts","docs"]
number = 4
recursive = true
targets = "netbox_python"
[tool.black]
line-length = 120
target_version = ['py38', 'py39', 'py310', 'py311']
[tool.isort]
profile = "black"
[tool.pylint]
max-line-length = 120
[tool.flake8]
max-line-length = 120
exclude = [
".eggs",
".venv",
".tox",
".mypy_cache",
".pytest_cache",
".vscode",
".github",
".git",
"dist",
"docs",
"tests",
]
ignore = [
"E722",
"B001",
"W503",
"E203",
"D100", # These are all for ignoring missing docstring
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"F401" # unused import
]