-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (85 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
94 lines (85 loc) · 1.91 KB
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
[project]
authors = [
{name = "Mozilla", email = "conduit-team@mozilla.com"},
]
classifiers = [
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
description = "Unified Lando Project"
dependencies = [
"celery",
"cryptography",
"datadog",
"django ~= 6.0",
"django-auditlog",
"django-cors-headers",
"django-ninja",
"django-storages[google]",
"django_compressor",
"google-cloud-bigquery",
"jinja2",
"kombu",
"more-itertools",
"mots",
"MozPhab==2.9.0",
"mozilla_django_oidc",
"networkx",
"psycopg2-binary",
"python-hglib==2.6.2",
"python-jose",
"redis",
"rs-parsepatch",
"sentry-sdk",
"setuptools-scm",
"simple-github",
"uwsgi",
]
name = "lando"
# NOTE: When bumping this, also update the Dockerfile to match.
requires-python = ">=3.12"
dynamic = ["version"]
[project.optional-dependencies]
code-quality = [
"black",
"djlint",
"ruff"
]
testing = [
"pytest",
"pytest-cov",
"pytest-django",
"pytest-xdist",
"requests-mock"
]
typing = [
"celery-types",
"django-stubs",
]
[project.scripts]
lando = "lando.manage:main"
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm>=8",
"pip",
"pip-tools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "src/lando/version/__init__.py"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest]
DJANGO_SETTINGS_MODULE = "lando.test_settings"
addopts = ["--cov", "--cov-report", "html", "--no-migrations"]
[tool.black]
extend_exclude = "src/lando/version/__init__.py"
[tool.djlint]
profile = "jinja"
# Avoid templating vendored code and coverage reports.
extend_exclude = "src/lando/static_src/legacy/vendor/.*|htmlcov/.*"