-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (65 loc) · 1.39 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
[project]
name = "schemes"
version = "1.0.0"
description = "Update your capital schemes service."
requires-python = ">=3.12"
dependencies = [
"alembic~=1.14.0",
"authlib~=1.3.0",
"dataclass-wizard~=0.26.0",
"flask~=3.0.0",
"flask-session[sqlalchemy]~=0.8.0",
"govuk-frontend-jinja~=3.1.0",
"govuk-frontend-wtf~=3.1.0",
"gunicorn~=23.0.0",
"inject~=5.2.0",
"pg8000~=1.31.0",
"python-dotenv~=1.0.0",
"requests~=2.32.0",
"sqlalchemy~=2.0.0"
]
[project.optional-dependencies]
dev = [
"beautifulsoup4~=4.12.0",
"black~=24.10.0",
"isort~=5.13.0",
"mypy~=1.13.0",
"playwright~=1.49.0",
"pytest-flask~=1.3.0",
"pytest-playwright~=0.6.0",
"pytest~=8.3.0",
"ruff~=0.8.0",
"responses~=0.25.0",
"types-beautifulsoup4~=4.12.0",
"types-requests~=2.32.0.0",
"types-wtforms~=3.1.0.20240205"
]
[build-system]
requires = ["flit_core<4"]
build-backend = "flit_core.buildapi"
# black
[tool.black]
line-length = 120
# isort
[tool.isort]
profile = "black"
# mypy
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = [
"authlib.*",
"flask_session.*",
"flask_wtf.*",
"govuk_frontend_wtf.*",
"pytest_flask.*",
"wtforms.*"
]
ignore_missing_imports = true
# pytest
[tool.pytest.ini_options]
live_server_scope = "package"
addopts = "--screenshot only-on-failure"
# ruff
[tool.ruff]
line-length = 120