-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
53 lines (41 loc) · 1.31 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
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
# Enable pycodestyle (E), pyflakes (F), bugbear (B), and bandit (S) rules
select = ["E", "F", "B", "S"]
ignore = ["E501"]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
"systemtest/*" = ["S101"]
[tool.pytest.ini_options]
addopts = "-rsxX --tb=native --showlocals"
norecursedirs = [".git", "docs", "bin"]
testpaths = "tests/"
filterwarnings = [
"error",
# Falcon currently uses cgi which is going away in python 3.13
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning:falcon",
# sentry-sdk has a Falcon integration that needs some help and is currently
# using a thing in Falcon that kicks up a DeprecatedWarning
"ignore:The api_helpers module.*:falcon.util.deprecation.DeprecatedWarning",
]
[tool.paul-mclendahand]
github_user = "mozilla-services"
github_project = "antenna"
main_branch = "main"
[tool.release]
github_user = "mozilla-services"
github_project = "antenna"
bugzilla_product = "Socorro"
bugzilla_component = "Infra"
main_branch = "main"
tag_name_template = "v%Y.%m.%d"
[tool.service-status]
main_branch = "main"
hosts = [
"stage=https://crash-reports.allizom.org",
"prod=https://crash-reports.mozilla.com",
]