-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
151 lines (120 loc) · 2.25 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# poetry self add poetry-bumpversion
# #
# build system
# #
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
"poetry-core",
]
# #
# poetry
# #
[tool.poetry]
name = "keeweb-ghcr"
repository = "https://github.com/keeweb/keeweb-badges-ghcr"
version = "0.1.0"
license = "MIT"
readme = "README.md"
description = "ghcr.io badge generation"
authors = [
"Aetherinox <[email protected]>",
"EuropaServ <[email protected]>",
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
keywords = [
"badge",
"ghcr",
"ghcr.io",
"github-container-registry",
"github"
]
packages = [
{ include = "keeweb_ghcr" },
]
# #
# tools > poetry > dependencies
# #
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
anybadge = "^1.9.0"
flask = ">=2.1.2,<4.0.0"
gunicorn = ">=20.1,<24.0"
humanfriendly = "^10.0"
requests = "^2.28.0"
types-humanfriendly = "^10.0"
types-requests = "^2.28.0"
typing-extensions = "^4.5.0"
waitress = "^3.0.0"
# #
# tools > poetry > dev > dependencies
# #
[tool.poetry.group.dev.dependencies]
mypy = ">=0.991,<1.14"
pre-commit = ">=2.20,<4.0"
taskipy = "^1.10.3"
# #
# tools > poetry > scripts
# #
[tool.poetry.scripts]
keeweb-ghcr-server = "keeweb_ghcr.server:main"
keeweb-ghcr = "keeweb_ghcr.main:main"
# #
# Tools > black
# #
[tool.black]
line-length = 120
target-version = [
'py39',
]
# #
# Tools > ruff
# #
[tool.ruff]
line-length = 120
select = [
"ALL",
]
ignore = [
"D203", # no-blank-line-before-class
"D213", # multi-line-summary-second-line
]
mccabe.max-complexity = 18
# #
# Tools > mypy
# #
[tool.mypy]
pretty = true
python_version = "3.9"
show_error_codes = true
strict = true
# #
# Tools
# #
[tool]
# #
# Tools > djlint
# #
[tool.djlint]
format_css = true
format_js = true
indent = 2
css.indent_size = 2
js.indent_size = 2
# #
# Tools > poetry > bump version
# #
[tool.poetry_bumpversion.file."keeweb_ghcr/__init__.py"]
# #
# Tools > Taskipy > tasks
# #
[tool.taskipy.tasks]
lint = "pre-commit run -a"
profile = "python -m cProfile"
dev = "FLASK_ENV=development gunicorn --reload"