-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
127 lines (114 loc) · 3.15 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[project]
name = "otterwiki"
description = "An Otter Wiki is Python-based software for collaborative content management, called a wiki. The content is stored in a git repository, which keeps track of all changes. Markdown is used as markup language."
authors = [
{ name = "Ralph Thesen", email = "mail@redimp.de" }
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.11"
dynamic = ["version"]
dependencies = [
"Werkzeug==3.1.3",
"Flask-Login==0.6.3",
"Flask-Mail==0.10.0",
"SQLAlchemy==2.0.36",
"Flask-SQLAlchemy==3.1.1",
"Flask==3.1.0",
"Jinja2==3.1.4",
"gitpython==3.1.42",
"cython==3.0.11",
"mistune==2.0.5",
"pygments==2.18.0",
"Pillow==10.4.0",
"unidiff==0.7.5",
"beautifulsoup4==4.12.3",
"pluggy==1.5.0",
]
keywords = ["wiki", "git", "markdown"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Wiki",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Text Processing :: Markup",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Software Development :: Version Control :: Git",
]
[project.urls]
Homepage = "https://otterwiki.com"
Github = "https://github.com/redimp/otterwiki"
Issues = "https://github.com/redimp/otterwiki/issues/"
"Demo" = "https://demo.otterwiki.com"
[project.optional-dependencies]
dev = [
"coverage",
"pytest",
"black",
"tox",
"tbump",
"rjsmin",
"git-changelog",
"pre-commit",
]
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["otterwiki"]
[tool.setuptools.dynamic]
version = {attr = "otterwiki.version.__version__"}
[tool.black]
# The default line length in black is 88 characters, in defiance of
# pep8, which mandates 79 characters. However, consistency with pep8
# is better than inconsistency.
line-length = 79
# Do not enforce double-quoted strings
skip-string-normalization = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py3{11,12,13}
isolated_build = True
[testenv]
deps = pytest
commands =
pytest tests
"""
[tool.pytest.ini_options]
testpaths = ["./tests"]
filterwarnings = [
# venv/lib/python3.12/site-packages/flask_login/login_manager.py:488: DeprecationWarning: datetime.datetime.utcnow() is deprecated
"ignore: datetime.datetime.utcnow\\(\\) is deprecated:DeprecationWarning",
]
[tool.pyright]
venvPath = "."
venv = "venv"
[tool.git-changelog]
bump = "auto"
convention = "conventional"
in-place = true
# filter-commits = ""
marker-line = "<!-- insertion marker -->"
output = "CHANGELOG.md"
parse-refs = false
parse-trailers = false
provider = "github"
repository = "."
sections = "feat,fix,build,deps,refactor"
template = "keepachangelog"
version-regex = "^## \\\\[(?P<version>v?[^\\\\]]+)"
versioning = "semver"
zerover = false
[tool.coverage.run]
omit = [
"otterwiki/profiler.py",
]
[tool.coverage.html]
directory = "coverage_html"
# vim: set et ts=8 sts=4 sw=4 ai fenc=utf-8: