-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (95 loc) · 2.23 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
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2024 Anna <cyber@sysrq.in>
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "find-work"
description = "Personal advice utility for Gentoo package maintainers"
authors = [
{name = "Anna", email = "cyber@sysrq.in"},
]
dynamic = ["version"]
readme = "README.md"
license = "WTFPL"
requires-python = ">=3.11"
dependencies = [
"aiohttp<4,>=3",
"click",
"click-aliases",
"deepmerge",
"gentoopm<2",
"pkgcheck",
"platformdirs<5,>=4",
"pydantic<3,>=2",
"pydantic-core<3,>=2",
"python-bugzilla",
"repology-client<2,>=0.0.2",
"requests<3,>=2",
"sortedcontainers",
"tabulate",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: DFSG approved",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
"Typing :: Typed",
]
keywords = ["gentoo", "ebuild", "repository", "maintainer"]
[project.optional-dependencies]
docs = [
"insipid-sphinx-theme",
"sphinx",
"sphinx-prompt",
]
test = [
"pkgcore",
"pytest",
]
[project.scripts]
find-work = "find_work.__main__:cli"
[project.urls]
Home = "https://find-work.sysrq.in"
Source = "https://git.sysrq.in/find-work"
Issues = "https://bugs.sysrq.in/enter_bug.cgi?product=Software&component=find-work"
Changelog = "https://find-work.sysrq.in/release-notes.html"
[tool.hatch.version]
path = "find_work/constants.py"
[tool.hatch.build.targets.sdist]
include = [
"/find_work",
"/Makefile",
"/docs",
"/man",
"/tests",
]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
[tool.mypy]
disallow_untyped_defs = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = [
"tests.*",
]
# requiring explicit types for all test methods would be cumbersome
disallow_untyped_defs = false
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"bugzilla",
"bugzilla.*",
"click_aliases",
"deepmerge",
"gentoopm",
"gentoopm.*",
"pkgcheck",
# indirect deps
"argcomplete",
]
ignore_missing_imports = true