-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (50 loc) · 1.01 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
[project]
name = "image-cleaner-action"
version = "0.9.0"
description = "Tools to cleanup old ghcr.io images when the source is removed"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"github-action-utils>=1.1",
"httpx[brotli,http2]>=0.27",
]
[tool.ruff]
target-version = "py311"
line-length = 110
respect-gitignore = true
# https://docs.astral.sh/ruff/settings/
fix = true
show-fixes = true
output-format = "grouped"
# https://docs.astral.sh/ruff/rules/
lint.extend-select = [
"COM",
"E",
"EXE",
"F",
"G201",
"I",
"ICN",
"INP",
"ISC",
"PIE",
"PLC",
"PLE",
"PTH",
"RSE",
"RUF",
"SIM",
"TID",
"UP",
"W",
]
# https://docs.astral.sh/ruff/settings/#lintisort
lint.isort.force-single-line = true
[tool.uv]
dev-dependencies = [ "ruff", "pre-commit", "pre-commit-uv", "mypy" ]