-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
121 lines (110 loc) · 2.9 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
[tool.poetry]
name = "fortigate_api"
version = "2.0.2"
description = "Python package to configure Fortigate (Fortios) devices using REST API and SSH"
authors = ["Vladimirs Prusakovs <[email protected]>"]
readme = "README.rst"
license = "Apache-2.0"
homepage = "https://github.com/vladimirs-git/fortigate-api"
repository = "https://github.com/vladimirs-git/fortigate-api"
keywords = ["fortigate", "fortios", "rest", "api"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
# "Operating System :: FortiOS",
"Topic :: System :: Networking :: Firewalls",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Natural Language :: English",
]
[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.28"
vhelpers = "^0.1.17"
[tool.poetry.group.dev.dependencies]
jinja2 = "^3.1.2"
mypy = "^1.8.0"
pydantic = "^2.5.3"
pygments = "^2.17.2"
pylint = "^3.0.3"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
pytest-mock = "^3.12.0"
readthedocs-sphinx-search = "^0.3.2"
requests-mock = "^1.11.0"
restructuredtext-lint = "^1.4.0"
ruff = "^0.1.9"
sphinx = "7.1.2"
sphinx-rtd-theme = "^1.3.0"
sphinxcontrib-httpdomain = "^1.8.1"
sphinxcontrib-openapi = "^0.8.3"
tabulate = "^0.9.0"
twine = "^4.0.2"
types-pyyaml = "^6.0.12.12"
types-requests = "^2.31.0.10"
types-tabulate = "^0.9.0.3"
typing-extensions = "^4.8.0"
[tool.poetry.extras]
test = ["pytest"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/vladimirs-git/fortigate-api/issues"
"Download URL" = "https://github.com/vladimirs-git/fortigate-api/archive/refs/tags/2.0.2.tar.gz"
[tool.pylint]
max-line-length = 100
disable = "fixme"
[tool.pylint.message_control]
enable = ["too-many-arguments"]
max-args = 13
[tool.pylint."fortigate_api.*"]
disable = [
"too-few-public-methods",
"too-many-instance-attributes",
"too-many-statements",
]
[tool.pylint."fortigate_api.cmdb.cmdb_s.py"]
disable = [
"line-too-long",
]
[tool.pylint."tests.*"]
disable = [
"duplicate-code",
"protected-access",
"redefined-outer-name",
"redefined-builtin",
"unused-import",
"use-dict-literal",
]
[tool.mypy]
python_version = "3.8"
[tool.ruff]
exclude = [
".git",
".idea",
".mypy_cache",
".pytype",
".ruff_cache",
".venv",
"_notes",
"dist",
"demo",
"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.setuptools.package-data]
fortigate_api = ["py.typed"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"