-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
pyproject.toml
86 lines (71 loc) · 1.57 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
[project]
requires-python = ">= 3.8"
name = "wikmd"
description = "A file-based wiki that aims for simplicity."
readme = "README.md"
authors = [
{ name = "linbreux" }
]
version = "1.10.6"
dependencies=[
"Flask==3.0.2",
"GitPython==3.1.42",
"Markdown==3.5.2",
"PyYAML==6.0.1",
"Werkzeug==3.0.3",
"Whoosh==2.7.4",
"beautifulsoup4==4.12.3",
"pandoc-eqnos==2.5.0",
"pandoc-fignos==2.4.0",
"pandoc-secnos==2.2.2",
"pandoc-tablenos==2.3.0",
"pandoc-xnos==2.5.0",
"pandocfilters==1.5.1",
"pypandoc-binary==1.13",
"pypandoc==1.13",
"requests==2.32.2",
"lxml==5.1.0",
"watchdog==2.1.9",
"cachelib==0.12.0",
]
[project.optional-dependencies]
dev = [
"pytest",
]
[project.scripts]
wikmd = "wikmd.wiki:run_wiki"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
wikmd = [
"wikmd-config.yaml",
"plugins/draw/default_draw",
"static/**/*",
"templates/**/*",
"wiki_template/**/*",
]
[tool.pytest.ini_options]
pythonpath = [
"src"
]
[tool.ruff]
src = ["", "tests"]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
# S101: Check for assert
"S101",
# ANN001: Missing type annotation for public function
"ANN001",
# ANN201: Missing return type annotation for public function
"ANN201",
# D100: Missing docstring in public module
"D100",
# D103: Missing docstring in public function
"D103",
# PLR2004: Magic numbers
"PLR2004",
]