-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
81 lines (74 loc) · 2.01 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "onyo"
authors = [
{name = "Alex Waite", email = "alex@waite.eu"},
{name = "Tobias Kadelka", email = "t.kadelka@fz-juelich.de"},
{name = "Benjamin Poldrack", email = "benjaminpoldrack@gmail.com"},
]
description = "Textual inventory system backed by git"
readme = "README.md"
requires-python = ">=3.11"
keywords = ["inventory", "git"]
license = {text = "ISC"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"ruamel.yaml",
"rich",
"natsort",
"fastnumbers" # not strictly neccessary, but makes natsort's number parsing faster
]
dynamic = ["version"]
[project.urls]
"Bug Reports" = "https://github.com/psyinfra/onyo/issues"
"Source" = "https://github.com/psyinfra/onyo/"
[project.optional-dependencies]
tests = [
'Faker',
'pyre-check',
'pytest',
'pytest-benchmark',
'pytest-cov',
'pytest-randomly',
'ruff',
]
docs = [
'Faker',
'pytest',
'sphinx',
'sphinx-argparse',
'sphinx-autodoc-typehints',
'sphinx-rtd-theme',
'typing-extensions',
]
[project.scripts]
onyo = "onyo.main:main"
[tool.setuptools_scm]
version_file = "onyo/_version.py"
## Resources
# All non-.py files in git are included as data files.
# Untracked files must be listed in MANIFEST.in.
[tool.setuptools.packages]
find = {} # Scanning implicit namespaces is active by default
[tool.ruff]
exclude = ["build/"]
lint.ignore = [
"D100", # Missing docstring in public module
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D202", # No blank lines allowed after function docstring (found {num_lines})
"D205", # 1 blank line required between summary line and description
"D401", # First line of docstring should be in imperative mood: "{first_line}"
"E501", # Line too long (82 > 79 characters)
]
lint.select = [
"D",
"E",
"F",
"W",
]
lint.pydocstyle.convention = "numpy"