forked from mozilla-releng/scriptworker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (110 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
118 lines (110 loc) · 2.25 KB
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
[project]
name = "scriptworker"
version = "62.7.0"
description = "Taskcluster scriptworker"
authors = [
{ name = "Mozilla Release Engineering", email = "releng@mozilla.com" },
]
readme = "README.rst"
requires-python = ">=3.11"
classifiers = [
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"aiohttp>=3",
"arrow>=1.0",
"cryptography>=2.6.1",
"dictdiffer",
"github3.py",
"immutabledict>=1.3.0",
"jsonschema[format-nongpl]",
"json-e>=2.5.0",
"PyYAML",
"taskcluster>=40",
"taskcluster-taskgraph",
]
[dependency-groups]
docs = [
"auxlib",
"commonmark",
"myst-parser",
"recommonmark",
"Sphinx",
"sphinx_rtd_theme",
]
dev = [
"tox",
"tox-uv",
"aiohttp>=3",
"asyncio_extras",
"black",
"coveralls",
"flake8",
"flake8_docstrings",
"isort>=5",
"mock",
"pytest",
"pytest-asyncio",
"pytest-mock",
"pytest-random-order",
"mypy",
# For mypy stub discovery
"aiohttp",
"async_timeout",
"types-PyYAML",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = [
"taskcluster",
".readthedocs.yml",
".taskcluster.yml",
"CODE_OF_CONDUCT.md",
"docs",
"mypi.ini",
"tests",
".github",
]
[tool.distutils.bdist_wheel]
universal = true
[project.scripts]
scriptworker = "scriptworker.worker:main"
verify_cot = "scriptworker.cot.verify:verify_cot_cmdln"
create_test_workdir = "scriptworker.cot.verify:create_test_workdir"
verify_ed25519_signature = "scriptworker.ed25519:verify_ed25519_signature_cmdln"
[tool.black]
line-length = 160
target-version = ["py311", "py312", "py313"]
include = '\.(wsgi|pyi?)$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.cache
| \.cache_py3
| _build
| buck-out
| build
| dist
| ui
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 160
[tool.pytest.ini_options]
asyncio_mode = "auto"