-
Notifications
You must be signed in to change notification settings - Fork 227
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (116 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
132 lines (116 loc) · 2.61 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[project]
name = "socorro"
description = "Socorro is a server to process Breakpad crash reports."
readme = "README.rst"
version = "1.0.0" # Required, but unused
requires-python = "==3.11.*"
dependencies = [
"attrs",
"boltons",
"click",
"contextlib2",
"datadog",
"dj-database-url",
"django~=5.2.11",
"django-cors-headers",
"django-csp",
"django-jinja",
"django-npm",
"django-pipeline",
"django-ratelimit",
"django-waffle",
"djangorestframework",
"dockerflow",
"elasticsearch~=9.2",
"enforce-typing",
"everett",
"fillmore",
"freezegun",
"glom",
"google-cloud-pubsub",
"google-cloud-storage",
"gunicorn",
"honcho",
"humanfriendly",
"inotify-simple",
"isodate",
"isoweek",
"jinja2",
"jsonschema",
"lxml",
"markdown-it-py",
"markus[datadog]",
"more-itertools",
"mozilla-django-oidc",
"oauth2client",
"obs-common",
"psycopg2-binary",
"pygments",
"pymemcache",
"pyquery",
"pytest",
"pytest-django",
"pytest-env",
"python-decouple",
"pyyaml",
"requests",
"requests-mock",
"ruff",
"semver",
"sentry-sdk",
"sphinx",
"sphinx-rtd-theme",
"statsd",
"urlwait",
"werkzeug",
"whitenoise",
]
[dependency-groups]
devcontainer = [
"ipython",
]
[project.urls]
Homepage = "https://github.com/mozilla-services/socorro"
[tool.uv]
environments = ["""
sys_platform == 'linux' and
platform_machine == 'x86_64' and
implementation_name == 'cpython'
"""]
package = false
[[tool.uv.index]]
name = "cavendish"
url = "https://us-python.pkg.dev/moz-fx-cavendish-prod/cavendish-prod-python/simple/"
[tool.uv.sources]
obs-common = { index = "cavendish" }
[tool.ruff]
line-length = 88
# NOTE(willkg): Need to keep using Python 3.8 until socorro-siggen drops
# support for it
target-version = "py39"
[tool.ruff.lint]
# Enable pycodestyle (E), pyflakes (F), and bugbear (B) rules
select = ["E", "F", "B"]
# Ignore line length violations
ignore = ["E501"]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
[tool.release]
github_user = "mozilla-services"
github_project = "socorro"
bugzilla_product = "Socorro"
bugzilla_component = "Infra"
main_branch = "main"
tag_name_template = "v%Y.%m.%d"
[tool.paul-mclendahand]
github_user = "mozilla-services"
github_project = "socorro"
main_branch = "main"
[tool.service-status]
main_branch = "main"
hosts = [
"stage=https://crash-reports.allizom.org",
"stage=https://crash-stats.allizom.org",
"prod=https://crash-reports.mozilla.com",
"prod=https://crash-stats.mozilla.org"
]