-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
104 lines (92 loc) · 2.11 KB
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
[build-system]
requires = [
"flit_core >=3.8,<4",
# repeat all normal runtime dependencies here
"chardet",
"lxml",
"pathspec",
"tree-sitter~=0.25.0",
"tree-sitter-bash~=0.23.1",
"snakeoil~=0.11.0",
"pkgcore~=0.12.31",
]
build-backend = "py_build"
backend-path = ["."]
[project]
name = "pkgcheck"
description = "pkgcore-based QA utility for ebuild repos"
readme = "README.rst"
license = {file = "LICENSE"}
requires-python = "~=3.11"
# alphabetical by surname.
authors = [
{name = "Michał Górny", email = "mgorny@gentoo.org"},
{name = "Tim Harder", email = "radhermit@gmail.com"},
{name = "Brian Harring", email = "ferringb@gmail.com"},
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
{name = "Marien Zwart"},
]
maintainers = [
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
]
dynamic = ["version"]
dependencies = [
"chardet",
"lxml",
"pathspec",
"tree-sitter~=0.25.0",
"tree-sitter-bash~=0.23.1",
"snakeoil~=0.11.0",
"pkgcore~=0.12.31",
]
[project.optional-dependencies]
test = [
"pytest>=9.0",
"pytest-cov",
"requests",
]
doc = [
"sphinx",
]
network = [
"requests",
]
[project.urls]
Homepage = "https://github.com/pkgcore/pkgcheck"
Documentation = "https://pkgcore.github.io/pkgcheck/"
Source = "https://github.com/pkgcore/pkgcheck"
[project.scripts]
pkgcheck = "pkgcheck.scripts.__init__:main"
[tool.flit.external-data]
directory = "data"
[tool.flit.sdist]
include = [
"Makefile", "py_build.py", "tox.ini",
"NEWS.rst", "doc", "tests", "testdata", "contrib",
"build/sphinx/man/pkgcheck.1",
]
exclude = [
".github/", ".gitignore",
"doc/api/", "doc/generated/", "doc/_build/",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
extend-select = ["I"]
ignore = [
"E741", # ambiguous variable name
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-vv -ra -l"
testpaths = ["tests"]
[tool.vulture]
paths = ["src/pkgcheck/"]