This repository has been archived by the owner on Mar 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
100 lines (82 loc) · 1.8 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
[project]
requires-python = ">= 3.8"
name = "wikmd"
description = "A file-based wiki that aims for simplicity."
authors = [
{ name = "linbreux" }
]
version = "1.9.0"
dependencies=[
"Flask==3.0.2",
"GitPython==3.1.42",
"Markdown==3.5.2",
"PyYAML==6.0.1",
"Werkzeug==3.0.1",
"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==1.13",
"requests==2.31.0",
"lxml==5.1.0",
"watchdog==2.1.9",
"cachelib==0.12.0",
]
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
"ruff-lsp",
]
test = [
"pytest",
]
[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]
"*" = [
# ANN001: Missing type annotation for public function
"ANN101",
# ANN204: Missing return type annotation for __init__
"ANN204",
# D100: Missing docstring in public module
"D100",
# D107: Missing docstring in __init__
"D107",
# ANN001: Missing type annotation for public function
"ANN101",
]
"tests/*" = [
# S101: Check for assert
"S101",
# ANN001: Missing type annotation for public function
"ANN001",
# ANN201: Missing return type annotation for public function
"ANN201",
# D103: Missing docstring in public function
"D103",
# PLR2004: Magic numbers
"PLR2004",
]