-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (78 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (78 loc) · 1.76 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
[project]
name = "human-errors"
version = "0.0.3"
description = "everyone makes mistakes, show the errors to them "
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [{ name = "NSPC911" }]
keywords = ["exception", "config", "json", "yaml", "toml"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
"Topic :: File Formats",
"Topic :: File Formats :: JSON",
"Topic :: Text Processing",
]
dependencies = ["poethepoet>=0.37.0", "rich>=14.2.0"]
[project.scripts]
human-errors = "human_errors.parse_file:main"
[project.urls]
Issues = "https://github.com/NSPC911/human-errors/issues"
Source = "https://github.com/NSPC911/human-errors"
[build-system]
requires = ["uv_build>=0.9.5,<0.10.0"]
build-backend = "uv_build"
[dependency-groups]
toml = ["toml>=0.9.0"]
orjson = ["orjson>=3.10.0"]
yaml = ["pyyaml>=6.0.0"]
tomli = ["tomli>=2.3.0"]
dev = [
# runner
"poethepoet>=0.37.0",
# code quality
"ruff>=0.14.2",
"ty>=0.0.1a24",
# install all for local dev
"toml>=0.9.0",
"orjson>=3.10.0",
"pyyaml>=6.0.0",
"tomli>=2.3.0",
]
[tool.ruff.lint]
select = [
"ASYNC251",
"ANN",
"COM819",
"C400",
"DOC",
"D404",
"E",
"F",
"I",
"N801",
"N802",
"N805",
"PLE1142",
"Q",
"SIM",
"TD",
"W",
]
ignore = ["W505", "E501", "ANN002", "ANN003", "TD002", "TD003"]
preview = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
preview = true
[tool.ty.rules]
possibly-missing-import = "ignore"
unresolved-reference = "ignore" # handled by ruff
unresolved-attribute = "ignore"
[tool.poe.tasks]
run = "human-errors"
check.sequence = [{ cmd = "ty check" }, { cmd = "ruff check" }]