This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
generated from communitiesuk/funding-service-design-TEMPLATE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (73 loc) · 1.88 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
[project]
name = "funding-service-design-authenticator"
version = "0.1.1"
description = "The funding service design authenticator for the DLUHC."
authors = ["Version One"]
license = "MIT License"
requires-python = "~=3.10.0"
dependencies = [
"beautifulsoup4==4.12.3",
"email-validator==1.2.1",
"flask-assets==2.0",
"flask-compress==1.14",
"flask-redis==0.4.0",
"flask-session==0.4.0",
"flask-talisman==0.8.1",
"flask-wtf==1.2.2",
"flask==2.2.5",
"funding-service-design-utils==5.2.0",
"govuk-frontend-jinja==2.8.0",
"greenlet==3.1.1",
"jsmin==3.0.1",
"msal==1.28.0",
"pyjwt==2.4.0",
"requests==2.32.3",
]
[tool.djlint]
# run with : `djlint path/to/file.html --reformat --format-css --format-js`
# this is deliberately commented out. we don't want to format these tags as
# it will introduce new lines and tabs, making the translation matching brittle.
# custom_blocks="trans,endtrans"
max_line_length=1000 # high limit, we don't want line breaks for translations.
max_attribute_length=1000 # ^^^
exclude=".venv,venv"
profile="jinja2"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C90", # mccabe cyclomatic complexity
"G", # flake8-logging-format
]
ignore = []
exclude = [
".venv*",
"__pycache__",
]
mccabe.max-complexity = 12
[tool.uv]
[dependency-groups]
dev = [
"beautifulsoup4==4.12.3",
"debugpy==1.6.7",
"deepdiff==5.8.1",
"dparse==0.6.4",
"invoke==2.0.0",
"moto==5.0.12",
"pre-commit==4.0.1",
"pytest==7.1.2",
"pytest-env==0.6.2",
"pytest-flask==1.3.0",
"pytest-mock==3.10.0",
"pytest-selenium==2.0.1",
"selenium==4.23.1",
"swagger-ui-bundle==0.0.9",
"webdriver-manager==4.0.1",
"ruff>=0.8.2",
]