-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
118 lines (103 loc) · 2.5 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
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
[tool.ruff]
extend-exclude = [
"__pycache__",
]
[tool.ruff.lint]
select = [
# pycodestyle
"E", "W",
# flake8
"F",
# isort
"I",
# pytest style
"PT",
# eradicate commented code
"ERA",
# ruff lint
"RUF",
]
ignore = [
# `format` will wrap lines.
"E501",
]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.pytest.ini_options]
# https://docs.pytest.org/en/6.2.x/usage.html
# -ra: shows test summary for all EXCEPT passed and passed with output
# --showlocals: show local variables in tracebacks
# --tb=native: traceback printing with Python standard library formatting
addopts = "-ra --showlocals --tb=native"
sensitive_url = ".mozaws.net"
asyncio_mode = "strict"
[tool.coverage]
# https://github.com/nedbat/coveragepy
[tool.coverage.run]
omit = [
'*/.local/*',
'/usr/*',
'*/.venv/*',
'*/.tox/*',
'*/virtualenvs/*',
]
[tool.coverage.report]
exclude_lines = [
"# noqa",
"raise NotImplementedError",
"pragma: no cover",
"def __repr__",
"if .debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"logger.",
"from",
"import"
]
[tool.poetry]
name = "remote-settings"
version = "0"
description = "Easily manage evergreen settings data in Firefox"
authors = ["Contactless <postmaster@localhost>"]
license = "MPL"
readme = "README.rst"
[tool.poetry.dependencies]
python = ">=3.11, <3.13"
canonicaljson-rs = "0.6.0"
cryptography = "43.0.3"
ecdsa = "0.19.0"
kinto = {version = "^19.3.0", extras = ["postgresql","memcached","monitoring"]}
kinto-attachment = "7.0.0"
kinto-emailer = "3.0.1"
requests-hawk = "1.2.1"
uwsgi = "2.0.28"
[tool.poetry.group.kinto-remote-settings.dependencies]
kinto-remote-settings = {path = "./kinto-remote-settings", develop = true}
[tool.poetry.group.dev.dependencies]
pytest = "8.3.3"
webtest = "3.0.1"
coverage = "7.6.4"
detect-secrets = "^1.5.0"
ruff = "^0.7.3"
[tool.poetry.group.browser-tests]
optional = true
[tool.poetry.group.browser-tests.dependencies]
aiohttp = "3.10.10"
autograph-utils = "1.0.1"
canonicaljson-rs = "0.6.0"
httpie = "3.2.4"
kinto-http = "11.3.0"
pytest = "8.3.3"
pytest-asyncio = "0.24.0"
webtest = "3.0.1"
playwright = "^1.48.0"
pytest-playwright = "^0.5.2"
nest_asyncio="^1.6.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
docutils = "0.21.2"
sphinx = "8.1.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"