-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
112 lines (100 loc) · 2.09 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
# SPDX-FileCopyrightText: 2023 Veit Schiele
#
# SPDX-License-Identifier: BSD-3-Clause
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "items"
dynamic = ["version"]
authors = [
{ name="Veit Schiele", email="[email protected]" },
]
description = ""
readme = "README.rst"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
dependencies = [
"tinydb",
"typer",
"rich",
]
[project.optional-dependencies]
tests = [
"coverage[toml]",
"pytest>=6.0",
"pytest-cov",
"faker",
]
docs = [
"furo",
"sphinxext-opengraph",
"matplotlib",
"sphinx-copybutton",
"sphinx_inline_tabs",
"sphinxcontrib.napoleon",
"interrogate"
]
dev = [
"items[tests, docs]",
"pre-commit",
"watchgha",
"reuse",
"tox"
]
[project.urls]
Documentation = "https://items.cusy.io/"
GitHub = "https://github.com/veit/items"
Mastodon = "https://mastodon.social/@veit"
[tool.hatch.version]
path = "src/items/__init__.py"
[tool.black]
line-length = 79
[tool.pytest.ini_options]
addopts = [
"--strict-markers",
"--strict-config",
"-ra"
]
testpaths = "tests"
markers = [
"exception: Only run expected exceptions",
"finish: Only run finish tests",
"smoke: Small subset of all tests",
"num_items: Number of items to be pre-filled for the items_db fixture"
]
[tool.coverage.run]
branch = true
parallel = true
source = ["items", "tests"]
[tool.coverage.paths]
source = ["src", ".tox/py*/**/site-packages"]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-module = false
ignore-property-decorators = false
fail-under = 100
exclude = ["docs"]
verbose = 0
omit-covered-files = false
quiet = false
whitelist-regex = []
ignore-regex = []
color = true
[project.scripts]
items = "items:app"