-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (100 loc) · 2.48 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
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
[project]
name = "octotail"
dynamic = ["version"]
description = "Live tail GitHub Actions runs on git push"
authors = [{ name = "Rareș Cosma", email = "rares@getbetter.ro" }]
readme = "README.md"
requires-python = ">=3.12"
keywords = ["github-actions", "tail", "post-receive", "codecrafters", "git"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: System :: Logging",
"License :: OSI Approved :: The Unlicense (Unlicense)",
]
license = { text = "Unlicense" }
dependencies = [
"fake-useragent>=1.5",
"mitmproxy>=11.0",
"pygithub>=2.4",
"pykka>=4.0",
"pyppeteer>=2.0",
"pyppeteer-stealth>=2.7",
"pyxdg>=0.28",
"returns>=0.23",
"rich>=13.9",
"shellingham>=1.5",
"termcolor>=2.5",
"typer>=0.12",
"websockets>=10",
]
[project.scripts]
octotail = "octotail.main:_main"
octotailx = "octotail.x:_main"
[project.urls]
Documentation = "https://github.com/getbettr/octotail#readme"
Repository = "https://github.com/getbettr/octotail"
Issues = "https://github.com/getbettr/octotail/issues"
Homepage = "https://getbetter.ro/projects/#octotail"
[tool.uv]
dev-dependencies = [
"black>=24.10",
"bumpversion>=0.6",
"coverage[toml]>=7.6.4",
"isort>=5.13",
"mypy>=1.12",
"ptyprocess>=0.7",
"pycln>=2.4",
"pylint>=3.3",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"pytest>=8.3.3",
"ruff>=0.6.9",
"vulture>=2",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["/octotail", "/examples"]
[tool.hatch.version]
path = "octotail/__init__.py"
[tool.ruff]
line-length = 100
lint.extend-select = [
"B",
"C",
"E",
"F",
"I",
"PERF",
"PLR",
"PT",
"PTH",
"RUF",
"SIM",
"TID",
"TRY",
"UP",
"W",
]
lint.ignore = [
"B010", # need setattr for mypy anger management
"TRY003", # we rely on imported exception classes for error handling
]
[tool.ruff.lint.per-file-ignores]
"**/tests/*" = ["PLR0913", "PLR2004"] # magic-values + too-many-arguments
"octotail/{browser,x}.py" = ["PLR0912", "C901"] # too-complex + too-many-branches
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
branch = true
source = ["octotail"]
omit = ["main.py", "x.py"]
[tool.coverage.report]
show_missing = true