-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
146 lines (127 loc) · 3.47 KB
/
pyproject.toml
File metadata and controls
146 lines (127 loc) · 3.47 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["setuptools>=80.0.0", "wheel", "tomli; python_version < '3.11'"]
build-backend = "build_meta"
backend-path = ["build_backend"]
[project]
name = "radkummerkasten"
description = "A suggestion/complaints box for the Austrian Cycling Federation"
readme = "README.md"
authors = [
{ name = "Christoph Fink" },
]
dependencies = [
"filelock",
"fiona",
"flask",
"flask-cors",
"flask-mail",
"Flask-WTF",
"geopandas",
"mercantile",
"Pillow",
"pyogrio",
"requests",
"scikit-learn",
"shapely",
"sqlalchemy",
"vt2pbf",
"wtforms[email]",
"xdg-base-dirs; python_version > '3.9'",
"xdg; python_version < '3.10'",
]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Environment :: Web Environment",
"Framework :: Flask",
]
keywords = ["survey", "cycling", "map", "cartography"]
license = "GPL-3.0-or-later"
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"black",
"flake8",
"flake8-bugbear",
"flake8-pyproject",
"isort",
"pydocstyle",
"pylint",
"werkzeug"
]
docs = [
"sphinx",
"sphinx-book-theme",
"sphinx-design",
"sphinxcontrib-bibtex",
"sphinxcontrib-images"
]
tests = [
"protobuf",
"pytest",
"pytest-cov",
"pytest-lazy-fixtures",
"requests",
"selenium",
"werkzeug"
]
[project.urls]
# Documentation = "https://radkummerkasten.readthedocs.org/"
Repository = "https://github.com/radlobby/radkummerkasten.git"
"Change log" = "https://github.com/radlobby/radkummerkasten/blob/main/CHANGELOG.md"
"Bug tracker" = "https://github.com/radlobby/radkummerkasten/issues"
[tool.coverage.paths]
equivalent_sources = [
"src/radkummerkasten/",
".virtualenv/lib/python*/site-packages/radkummerkasten/",
"/opt/hostedtoolcache/Python/*/x64/lib/python*/site-packages/radkummerkasten/",
"/Library/Frameworks/Python.framework/Versions/*/lib/python*/site-packages/radkummerkasten/",
"C:/hostedtoolcache/windows/Python/*/x64/Lib/site-packages/radkummerkasten/"
]
[tool.coverage.report]
exclude_also = [
'if __name__ == .__main__.:',
]
[tool.flake8]
exclude = ["build", "dist", "docs/conf.py", "node_modules", "vendor", ".virtualenv"]
extent-ignore = ["E203", "E501", "E701"]
extent-select = ["B950"]
max-line-length = 88
[tool.isort]
profile = "black"
skip = ["build", "dist", "docs/conf.py", "node_modules", "vendor", ".virtualenv"]
[tool.pydocstyle]
#match-dir = "^(src|tests|build_backend).*"
[tool.pylintrc]
good-names = ["i", "j", "k", "e", "ex", "id", "Run", "_"]
max-line-length = 88
[tool.pytest.ini_options]
addopts = "-p no:faulthandler --cov=radkummerkasten --cov-report term-missing --cov-report xml --import-mode=importlib --junitxml=junit.xml -o junit_family=legacy"
testpaths = ["tests"]
[tools.radkummerkasten-build-backend]
sass_files = ["src/radkummerkasten/static/style/radkummerkasten.sass"]
ecmascript_files = [
"src/radkummerkasten/static/script/maplibre-preload.js",
"src/radkummerkasten/static/script/radkummerkasten-map.js",
"src/radkummerkasten/static/script/radkummerkasten.js",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
version = {attr = "radkummerkasten.__version__"}
[tool.setuptools.package-data]
"*" = [
"*.ico",
"*.jinja",
"*.jpg",
"*.js.map",
"*.json",
"*.min.css",
"*.min.js",
"*.png",
"*.svg",
"*.webmanifest",
"*.webp",
"*.woff2",
]