File: pyproject.toml

package info (click to toggle)
pdudaemon 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 460 kB
  • sloc: python: 3,318; sh: 50; makefile: 12
file content (101 lines) | stat: -rw-r--r-- 2,378 bytes parent folder | download
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
[project]
name = "pdudaemon"
description = "Control and Queueing daemon for PDUs"
maintainers = [
  { name = "Matt Hart", email = "matt@mattface.org" },
]
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.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
    "Programming Language :: Python :: 3 :: Only",
    "Topic :: Communications",
    "Topic :: Software Development :: Testing",
    "Topic :: System :: Networking",
]
requires-python = ">= 3.10"
dependencies = [
    "aiohttp",
    "requests",
    "pexpect",
    "systemd_python",
    "paramiko",
    "pyserial",
    "hidapi",
    "pysnmp>=7.1.22",
    "pyasn1>=0.6.2",
    "pyusb",
    "pymodbus",
]
dynamic = ["version"] # via setuptools_scm

[project.optional-dependencies]
test = [
    "pytest >= 4.6",
    "pytest-asyncio",
    "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.10.
target-version = "py310"

[tool.ruff.isort]
known-first-party = ["pdudaemon", "tests"]

[tool.ruff.pydocstyle]
convention = "google"