-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (42 loc) · 1.19 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
# SPDX-FileCopyrightText: 2023-2024 KUNBUS GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
[project]
name = "revpi-eol-provisioner"
version = "1.0.0"
dependencies = ["schema", "pyyaml", "gpiod"]
[project.scripts]
revpi-eol-provisioner = "revpi_provisioning.cli.provisioner:main"
revpi-eol-clear-hat = "revpi_provisioning.cli.clear_hat:main"
revpi-eol-dump-hat = "revpi_provisioning.cli.dump_hat:main"
revpi-eol-validate-config = "revpi_provisioning.cli.validator:main"
[project.optional-dependencies]
test = ["ruff", "pytest", "yamllint"]
[tool.setuptools]
py-modules = ["revpi_provisioning"]
[tool.setuptools.package-data]
revpi_provisioning = ["devices/*.yaml"]
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100
lint.select = [
"ANN", # flake8-annotations
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"Q", # flake8-quotes
]
lint.ignore = [
"D203", # incompatible with D211
"D213", # incompatible with D212
"ANN101", # missing-type-self
"D107", # undocumented-public-init
]
[tool.lint.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.ruff.lint.pydocstyle]
convention = "numpy"