-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
103 lines (91 loc) · 2.41 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
[project]
name = "pdudaemon"
description = "Control and Queueing daemon for PDUs"
maintainers = [
{ name = "Matt Hart", email = "[email protected]" },
]
readme = "README.md"
license = { text = "GPL-2+" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Communications",
"Topic :: Software Development :: Testing",
"Topic :: System :: Networking",
]
requires-python = ">= 3.4"
dependencies = [
"aiohttp",
"requests",
"pexpect",
"systemd_python",
"paramiko",
"pyserial",
"hidapi",
"pysnmp",
"pyasn1",
"pyusb",
"pymodbus",
]
dynamic = ["version"] # via setuptools_scm
[project.optional-dependencies]
test = [
"pytest >= 4.6",
"pytest-mock",
]
[tool.setuptools]
packages = [
"pdudaemon",
"pdudaemon.drivers",
]
[tool.setuptools_scm]
local_scheme = "no-local-version"
[project.urls]
Homepage = "https://github.com/pdudaemon/pdudaemon.git"
[project.scripts]
pdudaemon = "pdudaemon:main"
[build-system]
requires = [
"setuptools>=61.0",
"setuptools_scm[toml]",
]
build-backend = "setuptools.build_meta"
[tool.ruff]
select = [
"E", # pycodestyle
"W", # pycodestyle
"D", # pydocstyle
"F", # pyflakes
# "I", # isort
# "UP", # pyupgrade
]
ignore = [
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D107", # Missing docstring in `__init__`
"D205", # 1 blank line required between summary line and description
"E501", # Line too long
]
src = ["pdudaemon", "tests"]
line-length = 88 # Match black
# Minimum Python 3.8.
target-version = "py38"
[tool.ruff.isort]
known-first-party = ["pdudaemon", "tests"]
[tool.ruff.pydocstyle]
convention = "google"