-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
64 lines (55 loc) · 1.65 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
[project]
name = "eventfully"
version = "0.2.3"
description = "Add your description here"
authors = [
{ name = "2mal3", email = "56305732+2mal3@users.noreply.github.com" },
{ name = "Luis Schuimer", email = "85784931+LuisSchuimer@users.noreply.github.com" },
{ name = "BlitzBenedikt", email = "117511666+BlitzBenedikt@users.noreply.github.com" }
]
dependencies = [
"flask==3.*",
"peewee==3.*",
"python-dotenv==1.*",
"meilisearch==0.*",
"pydantic==2.*",
"Flask-APScheduler==1.*",
"gunicorn==22.*",
"pytest==8.*",
"get-project-root==0.*",
"flask-wtf==1.*",
"niquests==3.*",
"beautifulsoup4==4.*",
"pytailwindcss-extra==0.*",
"sqids>=0.4.1",
"pyjwt>=2.8.0",
"cachetools==5.*",
"pyi18n-v2>=1.2.1",
]
readme = "README.md"
requires-python = ">= 3.8"
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
# Rules are explained here: https://docs.astral.sh/ruff/rules
select = ["E4", "E7", "E9", "F", "C", "N", "A", "SIM", "PL"]
ignore = ["N805"]
[tool.pyright]
ignore = ["**/sources"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
virtual = true # necessary for docker
managed = true
dev-dependencies = []
[tool.rye.scripts]
dev = "python3 -m eventfully.main"
css-gen = "tailwindcss-extra -i ./eventfully/static/input.css -o ./eventfully/static/output.css --watch"
css-build = "tailwindcss-extra -i ./eventfully/static/input.css -o ./eventfully/static/output.css"
reset-db = "rm -r database/meilisearch/data.ms/ database/sqlite/database.db"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["eventfully"]