This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
84 lines (74 loc) · 1.82 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hasty-paste"
dynamic = ["version"]
description = "A fast and minimal paste bin"
keywords = ["pastebin", "pastes"]
authors = [
{ name = "Leo Spratt", email = "contact@enchantedcode.co.uk" },
]
classifiers = [
"Private :: Do not Upload",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Framework :: AsyncIO",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
]
readme = "README.md"
requires-python = ">=3.10"
license = "AGPL-3.0-only"
dependencies = [
"quart~=0.19.4",
"quart-schema~=0.19.0",
"async-timeout~=4.0.3",
"web-health-checker~=1.3.1",
"pydantic~=2.6.1",
"pydantic-settings~=2.1.0",
"pygments~=2.17.2",
"pytz==2024.1",
"orjson~=3.9.13",
"redis~=5.0.1",
"boto3==1.34.*"
]
[tool.hatch.envs.default.scripts]
serve = "hypercorn \"paste_bin.main:create_app()\""
[tool.hatch.envs.docs]
dependencies = [
"mkdocs~=1.5.3",
"mkdocs-material~=9.5.9"
]
[tool.hatch.envs.docs.scripts]
build = "mkdocs build --clean"
serve = "mkdocs serve"
[tool.hatch.envs.test]
dependencies = [
"nose2[coverage_plugin]"
]
[tool.hatch.envs.test.scripts]
test = "mkdir -p reports && nose2"
[tool.hatch.envs.test.env-vars]
HIDE_BOOT_MESSAGE="1"
[tool.hatch.version]
path = "paste_bin/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["paste_bin"]
[tool.ruff]
line-length=100
src = ["paste_bin", "tests"]
extend-exclude = ["tests"]
ignore = [
"TID252",
"EM101", "EM102",
"S101",
"TRY003",
"N818",
"T201",
"TRY400",
"FBT001", "FBT002"
]