-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.2 KB
/
pyproject.toml
File metadata and controls
62 lines (54 loc) · 1.2 KB
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
[project]
name = "silicon-notes"
version = "0.1.5"
description = "A personal knowledge base with a wiki-like interface."
authors = [
{ name = "Charles Ulrich"}
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
dependencies = [
"flask~=3.0",
"gunicorn~=23.0",
"mistune~=3.0",
"pygments~=2.18",
"python-dotenv~=1.0",
"python-slugify~=8.0.0",
]
[project.urls]
Repository = "https://github.com/cu/silicon"
[dependency-groups]
dev = [
"beautifulsoup4~=4.12",
"flake8~=7.1",
"poethepoet>=0.37.0",
"pytest~=8.3.0",
"watchdog~=6.0",
]
[tool.poe]
executor.type = "uv"
[tool.poe.tasks]
init-db = "flask --app silicon init-db"
devserver = "flask --app silicon run --debug"
flake8 = "flake8 --show-source --exclude .venv"
npm-docker = """
docker run -ti
--rm
-v ${POE_CONF_DIR}/silicon/static:/app
-w /app
node:alpine
npm ci
"""
[tool.poe.tasks.test]
cmd = "pytest"
env = { TMP = "/dev/shm" }
[tool.poe.tasks.npm]
cwd = "silicon/static"
cmd = "npm ci"
[tool.poe.tasks.export]
cmd = "flask --app silicon export"
verbosity = -1
[tool.poe.tasks.import]
cmd = "flask --app silicon import"
verbosity = -1