-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (55 loc) · 1.65 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
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
# Enable pycodestyle (`E`), Pyflakes (`F`), and Bugbear (`B`) rules
select = ["E", "F", "B"]
# Ignore line length violations
ignore = ["E501"]
unfixable = ["B"]
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".tox",
".venv",
"__pycache__",
"__pypackages__",
"_build",
"node_modules",
"venv",
]
per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.pytest.ini_options]
norecursedirs = [".cache", "__pycache__"]
testpaths = "tests/"
addopts = "-rsxX --showlocals --tb=native -p no:cacheprovider"
# Transform all warnings into errors
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",
# 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 = "eliot"
main_branch = "main"
[tool.release]
github_user = "mozilla-services"
github_project = "eliot"
bugzilla_product = "Eliot"
bugzilla_component = "General"
main_branch = "main"
tag_name_template = "v%Y.%m.%d"
[tool.service-status]
main_branch = "main"
hosts = [
"stage=https://eliot-stage.symbols.nonprod.webservices.mozgcp.net",
"prod=https://symbolication.services.mozilla.com",
]