-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (70 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
77 lines (70 loc) · 1.89 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
[project]
name = "dochooks"
version = "0.6.0"
description = ""
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "Nyakku Shigure", email = "sigure.qaq@gmail.com" }]
keywords = []
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Operating System :: OS Independent",
"Typing :: Typed",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = ["typing-extensions>=4.3.0"]
[project.urls]
Homepage = "https://github.com/PFCCLab/dochooks"
Documentation = "https://github.com/PFCCLab/dochooks"
Repository = "https://github.com/PFCCLab/dochooks"
Issues = "https://github.com/PFCCLab/dochooks/issues"
[project.scripts]
check-whitespace-between-cn-and-en-char = "dochooks.insert_whitespace_between_cn_and_en_char.check:main"
insert-whitespace-between-cn-and-en-char = "dochooks.insert_whitespace_between_cn_and_en_char.format:main"
check-case-conflict = "dochooks.check_case_conflict.check:main"
[dependency-groups]
dev = [
"ty>=0.0.32",
"ruff>=0.14.0",
"pytest>=8.4.2",
"pytest-rerunfailures>=16.0.1",
"tomli>=2.0.2; python_version < '3.11'",
"pre-commit>=4.3.0",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# Isort
"I",
# Pyupgrade
"UP",
# Flake8-pyi
"PYI",
# Yesqa
"RUF100",
]
ignore = [
"E501", # line too long, duplicate with ruff fmt
]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
known-first-party = ["dochooks"]
combine-as-imports = true
[build-system]
requires = ["uv_build>=0.11.3,<0.12.0"]
build-backend = "uv_build"