-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
92 lines (83 loc) · 2.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
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
[project]
name = "forestui"
version = "0.0.0"
description = "A Terminal UI for managing Git worktrees"
readme = "README.md"
requires-python = ">=3.14"
authors = [
{ name = "cadu" }
]
keywords = ["git", "worktree", "tui", "terminal", "textual"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Version Control :: Git",
]
dependencies = [
"click>=8.1.0",
"humanize>=4.9.0",
"libtmux>=0.37.0",
"pydantic>=2.12.5",
"textual>=8.2.4",
]
[project.scripts]
forestui = "forestui.app:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["forestui"]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pre-commit>=4.5.1",
"ruff>=0.14.11",
"textual-dev>=1.7.0",
]
[tool.mypy]
python_version = "3.14"
strict = true
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_configs = true
show_error_codes = true
files = ["forestui"]
[[tool.mypy.overrides]]
module = ["textual.*"]
ignore_missing_imports = true
[tool.ruff]
target-version = "py314"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"PTH", # flake8-use-pathlib
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
"TCH", # type-checking imports (can cause runtime issues)
"RUF012", # mutable class attributes (Textual pattern)
"ARG002", # unused method arguments (event handlers)
]
[tool.ruff.lint.isort]
known-first-party = ["forestui"]