-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (52 loc) · 1.41 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
[tool.poetry]
name = "mozilla-linux-pkg-manager"
version = "1.0.0"
description = "`mozilla-releng/mozilla-linux-pkg-manager` is a Python tool for managing Mozilla `.deb` packages."
authors = ["Mozilla Release Engineering <[email protected]>"]
license = "MPL-2.0"
readme = "README.md"
packages = [{include = "mozilla_linux_pkg_manager", from = "src"}]
[tool.poetry.scripts]
mozilla-linux-pkg-manager = 'mozilla_linux_pkg_manager.cli:main'
[tool.poetry.dependencies]
python = "^3.11"
aiohttp = "^3.8.6"
pyyaml = "^6.0.1"
mozilla-version = "^2.1.0"
google-cloud-artifact-registry = "^1.9.0"
[tool.poetry.group.test.dependencies]
coverage = "^7.3.2"
pytest = "^7.4.3"
pytest-mock = "^3.12.0"
responses = "^0.24.1"
tox = "^4.11.3"
[tool.poetry.group.docs.dependencies]
sphinx = "<7"
sphinx-autobuild = "^2021.3.14"
sphinx-book-theme = "^1.0.1"
[tool.black]
line-length = 88
[tool.pytest.ini_options]
xfail_strict = true
[tool.coverage.run]
parallel = true
branch = true
source = ["src/mozilla_linux_pkg_manager/"]
[tool.ruff]
select = [
"E", "W", # pycodestyle
"F", # pyflakes
"I", # isort
"PLC", "PLE", # pylint
"UP", # pyupgrade
]
ignore = [
"E501", # let black handle line-length
"UP007",
]
target-version = "py311"
[tool.ruff.isort]
known-first-party = ["mozilla_linux_pkg_manager"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"