-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
57 lines (49 loc) · 1.25 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
[tool.poetry]
name = "firefox-translations-models"
version = "0.1.0"
description = ""
authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
pip-tools = "^7.3.0"
[tool.poetry.group.black.dependencies]
black = "^23.7.0"
[tool.poetry.group.lint.dependencies]
ruff = "^0.0.287"
[tool.poetry.group.scripts.dependencies]
argparse = "^1.4.0"
kinto-http = "^11.0.1"
packaging = "^23.2"
pytest = "^7.4.3"
pytest-clarity = "^1.0.1"
requests = "^2.31.0"
termcolor = "^2.3.0"
[tool.black]
extend-exclude= "/3rd_party"
line-length = 99
# Match the rules from mozilla-central.
# https://searchfox.org/mozilla-central/source/pyproject.toml
[tool.ruff]
line-length = 99
# See https://beta.ruff.rs/docs/rules/ for a full list of rules.
select = [
"E", "W", # pycodestyle
"F", # pyflakes
"I", # isort
"PL", # pylint
]
ignore = [
# These are intentionally ignored.
"E741", # ambiguous-variable-name
"PLR09", # too-many-return-statements, too-many-branches, too-many-arguments, too-many-statements
"PLR2004", # magic-value-comparison
# These are handled by black.
"E1", "E4", "E5", "W2", "W5"
]
exclude = [
"3rd_party"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"