-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
62 lines (54 loc) · 1.17 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
[project]
name = "runson"
version = "0.1.0"
description = "Tooling to help understand runs-on.com configuration and options"
readme = "src/runson/README.md"
requires-python = ">=3.13"
dependencies = [
"pyyaml>=6.0.3",
"click>=8.0",
"colorlog>=6.0",
]
[project.optional-dependencies]
dev = [
"libcst>=1.0",
"ruff>=0.8",
"pytest>=9.0.3",
"pytest-sugar>=1.0",
"pytest-cov>=6.0",
"mypy>=1.0",
"types-PyYAML>=6.0",
]
[project.scripts]
runson = "runson.cli:run"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/runson"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
src = ["src"]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
[tool.mypy]
python_version = "3.13"
mypy_path = "src"
packages = ["runson"]
strict = false
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true