-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
80 lines (71 loc) · 1.8 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 = "benefits"
version = "2024.05.1"
description = "Cal-ITP Benefits is an application that enables automated eligibility verification and enrollment for transit benefits onto customers’ existing contactless bank (credit/debit) cards."
readme = "README.md"
license = { file = "LICENSE" }
classifiers = ["Programming Language :: Python :: 3 :: Only"]
requires-python = ">=3.9"
dependencies = [
"Authlib==1.3.0",
"azure-keyvault-secrets==4.8.0",
"azure-identity==1.16.0",
"Django==5.0.6",
"django-csp==3.8",
"django-admin-sortable2==2.2.1",
"django-google-sso==6.2.0",
"eligibility-api==2023.9.1",
"calitp-littlepay==2024.4.1",
"requests==2.32.3",
"sentry-sdk==2.1.1",
"six==1.16.0",
]
[project.optional-dependencies]
dev = [
"black",
"djlint",
"flake8",
"pre-commit",
]
test = [
"coverage",
"pytest",
"pytest-django",
"pytest-mock",
"pytest-socket",
]
[project.urls]
Code = "https://github.com/cal-itp/benefits"
Documentation = "https://docs.calitp.org/benefits"
Issues = "https://github.com/cal-itp/benefits/issues"
[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 127
target-version = ['py311']
include = '\.pyi?$'
[tool.coverage.run]
branch = true
relative_files = true
omit = [
"benefits/core/migrations/*"
]
source = ["benefits"]
[tool.djlint]
ignore = "H017,H031"
indent = 2
max_attribute_length = 127
max_line_length = 127
profile = "django"
preserve_blank_lines = true
use_gitignore = true
[tool.pyright]
include = ["benefits", "tests/pytest"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "benefits.settings"
markers = [
"request_path: use with session_request to initialize with the given path",
]
[tool.setuptools]
packages = ["benefits"]