-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
115 lines (97 loc) · 2.74 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
[tool.poetry]
name = "ekklesia-portal"
version = "24.2.0"
description = "Motion portal for the Ekklesia e-democracy platform"
readme = "README.md"
keywords = ["ekklesia", "edemocracy", "argument mapping", "evoting", "participation"]
license = "AGPL-3.0-or-later"
authors = ["Tobias dpausp <[email protected]>"]
classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11"
]
[tool.poetry.dependencies]
python = "^3.11"
alembic = "^1.4.2"
dataclasses-json = "^0.4.3"
passlib = "^1.7.2"
psycopg2 = "^2.8.5"
sqlalchemy = "^1.4.47"
sqlalchemy-searchable = "^1.1.0"
ekklesia-common = { git = "https://github.com/edemocracy/ekklesia-common", rev = "master" }
base32-crockford = "^0.3.0"
babel = "^2.9.0"
deform = "^2.0.15"
eliot-tree = "^19.0.1"
pdbpp = "^0.10.2"
Jinja2 = "^3.1"
typer = "^0.7.0"
gunicorn = "^20.1.0"
ipython = "^8.11.0"
rich = "^13.3.3"
[tool.poetry.dev-dependencies]
colorama = "^0.4.3"
mimesis-factory = "^1.1.0"
pytest = "^6.0.1"
pytest-cov = "^2.8.1"
pytest-factoryboy = "^2.0.3"
factory_boy = { git = "https://github.com/FactoryBoy/factory_boy", rev = "master" }
pytest-instafail = "^0.4.1"
pytest-localserver = "^0.5.0"
pytest-mock = "^3.1.0"
pytest-pspec = "^0.0.4"
responses = "^0.10.14"
typing-extensions = "^3.7.4"
webtest = "^3.0.0"
doit = "^0.36.0"
multiprocess = "^0.70.12"
[tool.coverage.report]
skip_covered = true
# Regexes for lines to exclude from consideration
exclude_lines = [
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:"
]
[tool.coverage.run]
source = [
"ekklesia_portal"
]
omit = [
"src/ekklesia_portal/runserver.py",
"src/ekklesia_portal/concepts/*/__init__.py",
"src/ekklesia_portal/runserver_production_deps.py",
"src/ekklesia_portal/pathtool.py",
"src/ekklesia_portal/whytool.py"
]
[tool.pylint.basic]
good-names = "q, s, f, wf, m, k, v, id"
[tool.pylint.imports] # Taken care of by isort, mostly included for error messages
known-third-party = "ekklesia_common"
[tool.pylint.master]
disable = "C0114, C0115, C0116, R0903"
[tool.pylint.format]
max-line-length = "120"
ignore-long-lines = "^\\s*(# )?<?https?://\\S+>?$"
[tool.pytest.ini_options]
addopts = """\
--show-capture=no \
-ra \
--tb=short \
-k "not integration" \
--strict-markers \
"""
filterwarnings = [
"ignore::DeprecationWarning"
]
norecursedirs = "tests/helpers"
testpaths = "tests"
markers = [
"integration: An Integration test which is allowed to modify the test database."
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"