-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
102 lines (89 loc) · 2.06 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
[project]
name = "git-pr-helper"
maintainers = [
{name = "Grub4K", email = "[email protected]"},
]
description = "Git subcommand to aid with GitHub PRs interaction"
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"git",
"git-plugin",
]
license = {file = "LICENSE"}
classifiers = [
"Topic :: Multimedia :: Video",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
dependencies = [
"rich",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"ruff==0.6.*",
"pyinstaller==6.*",
]
[project.urls]
Documentation = "https://github.com/Grub4K/git-pr-helper?tab=readme-ov-file"
Repository = "https://github.com/Grub4K/git-pr-helper"
Tracker = "https://github.com/Grub4K/git-pr-helper/issues"
Funding = "https://github.com/sponsors/Grub4K"
[project.scripts]
git-pr-helper = "git_pr_helper.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "git_pr_helper/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["git_pr_helper"]
[tool.hatch.envs.default]
path = ".venv"
installer = "uv"
features = ["dev"]
[tool.hatch.envs.default.scripts]
init = "pre-commit install -c pre-commit.yml"
deinit = "pre-commit uninstall"
[tool.hatch.envs.hatch-static-analysis]
dependencies = ["ruff==0.6.*"]
config-path = "pyproject.toml"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"C4",
"E",
"F",
"I",
"PLC",
"PLE",
"PLW",
"PYI",
"RET",
"RUF",
"SIM",
"TD",
"TID",
"W",
]
ignore = [
"TD003",
"E402",
"E501",
"PLR09",
]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
force-single-line = true
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"