-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (87 loc) · 2.42 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
[project]
name = "gbp-ps"
dynamic = ["version"]
description = "Store and report GBP build status"
authors = [
{name = "Albert Hopkins", email = "[email protected]"},
]
dependencies = [
"gbpcli>=2.1.0",
"rich>=13.6.0",
]
requires-python = ">=3.11"
readme = "README.md"
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Topic :: System :: Software Distribution",
"Programming Language :: Python :: 3",
]
license = {text = "GPL3+"}
[project.urls]
homepage = "https://github.com/enku/gbp-ps"
repository = "https://github.com/enku/gbp-ps"
[project.entry-points."gentoo_build_publisher.graphql_schema"]
gbp_ps = "gbp_ps.graphql"
[project.entry-points."gbpcli.subcommands"]
add-process = "gbp_ps.cli.add_process"
ps = "gbp_ps.cli.ps"
ps-dump-bashrc = "gbp_ps.cli.dump_bashrc"
[project.entry-points."gbp_ps.repos"]
django = "gbp_ps.repository.django:DjangoRepository"
redis = "gbp_ps.repository.redis:RedisRepository"
sqlite = "gbp_ps.repository.sqlite:SqliteRepository"
[project.optional-dependencies]
backend = [
"ariadne>=0.21",
]
redis = [
"gbp-ps[backend]",
"redis[hiredis]>=5.0.1",
]
all = ["gbp-ps[backend,redis]"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
version = { source = "scm" }
[tool.pdm.dev-dependencies]
dev = [
"mypy>=1.7.0",
"black>=23.11.0",
"isort>=5.12.0",
"pylint>=3.0.2",
"coverage[toml]>=7.3.2",
"django-stubs>=4.2.7",
"pylint-django>=2.5.5",
"requests>=2.31.0",
"types-requests>=2.31.0.10",
"rich>=13.6.0",
"types-redis>=4.6.0.10",
"fakeredis>=2.20.0",
"gentoo-build-publisher @ git+https://github.com/enku/gentoo-build-publisher",
"typos>=1.24.5",
"unittest-fixtures @ git+https://github.com/enku/unittest-fixtures.git",
"factory-boy>=3.3.1",
]
[tool.mypy]
plugins =["mypy_django_plugin.main"]
exclude = ["/migrations/"]
files = ["src/gbp_ps"]
mypy_path = ["tests"]
strict = true
[tool.pylint.master]
load-plugins = "pylint_django,pylint.extensions.bad_builtin"
django-settings-module = "settings"
init-hook = "import sys; sys.path.insert(0, 'tests')"
bad-functions = "print"
ignore = ["/migrations/"]
[tool.django-stubs]
django_settings_module = "settings"
[tool.coverage.run]
source = ["gbp_ps"]
omit = ["src/gbp_ps/migrations/*"]
[tool.isort]
profile = "black"
multi_line_output = 3