aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 4c6a08445e1a06b1935dff4bef52703ab5b9c0a4 (plain)
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
[metadata]
name = mu4web
version = attr: mu4web.VERSION
description = Web interface for the mu Maildir indexer
url = https://git.hornquist.se/mu4web
author = Hugo Hörnquist
author_email = hugo@lysator.liu.se
classifiers =
	Programming Language :: Python :: 3
	Environment :: Web Environment
	License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
license = AGPL3+
license_files =
	LICENSE

[options]
python_requires = >= 3.9
install_requires =
	flask >= 2.2.2
	flask-login >= 0.6
	urllib3 >= 1.26
	pyxdg >= 0.28
# optionally natsort >= 8.2
# python-pam >= 2.0.2 for pam integration
setup_requires =
	setuptools
packages = find:
include_package_data = True

[options.packages.find]

[mypy]
ignore_missing_imports = True
disallow_untyped_defs = True
check_untyped_defs = True
strict = True
warn_unused_ignores = False

[mypy-mu4web.main]
# NOTE Flask endpoints aren't typed.
# Prefer to move everything except flask endpoints
# to proper modules
disallow_untyped_defs = False

[mypy-test.*]
allow_untyped_defs = True
strict = False

[flake8]
ignore = E731,D105,D107
max-line-length = 100
per-file-ignores =
	test/*:D100,D103

[coverage:run]
omit =
	# This file should only be an entry-point stub, meaning that there
	# is nothing meaningfull to test.
	mu4web/__main__.py