This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
70 lines (59 loc) · 1.66 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ci_benchmark_tooling"
version = "0.1.0"
description = "Scripts to benchmark the performance of various CI providers"
authors = ["Guillaume RISBOURG <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11,<4.0"
httpx = {extras = ["http2"], version = "^0.24.1"}
daiquiri = "^3.2.1"
pyyaml = "^6.0"
tenacity = "^8.2.2"
pymarkdownlnt = "^0.9.11"
[tool.poetry.scripts]
dispatch-benchmark-workflows = "ci_benchmark_tooling.dispatch_benchmark_workflows:main"
create-benchmark-report = "ci_benchmark_tooling.create_benchmark_report:main"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.270"
black = "^23.3.0"
mypy = "^1.3.0"
poethepoet = "^0.20.0"
types-pyyaml = "^6.0.12.10"
[tool.poe]
include = ["poe.toml"]
[tool.black]
target-version = ['py311']
[tool.mypy]
strict = true
warn_unreachable = true
files = ["ci_benchmark_tooling"]
show_error_codes = true
[tool.ruff]
line-length = 88
target-version = "py311"
select = [
"E", "W", "F", "I", "A", "B", "Q",
"C4", "T10", "ISC", "ICN", "BLE",
"G", "RSE", "TID", "TRY", "PLE", "UP",
"RUF", "RET",
"DTZ", "ARG", "TCH", "COM",
]
ignore = [
# NOTE: line-length is up to black
"E501",
# NOTE: built-in shadow, interresting but to raise an error for
# TypedDict/NamedTuple with key named like builtin, so it's useless
"A003",
# We want to be able to raise exceptions with a custom message
"TRY003",
]
[tool.ruff.isort]
force-single-line = true
force-sort-within-sections = true
lines-after-imports = 2
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"