generated from sco1/py-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (80 loc) · 2.03 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
[project]
name = "zwolang"
version = "0.3.0"
description = "Python toolkit for the ZWO minilang."
authors = [
{name = "sco1", email = "[email protected]"}
]
maintainers = [
{name = "sco1", email = "[email protected]"}
]
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
requires-python = ">=3.11"
dependencies = [
"parsimonious~=0.10",
"rich~=13.9",
"sco1-misc~=0.1",
"typer~=0.12",
]
[project.urls]
Homepage = "https://github.com/sco1/"
Documentation = "https://github.com/sco1/zwom/blob/main/README.md"
Repository = "https://github.com/sco1/zwom"
Issues = "https://github.com/sco1/zwom/issues"
Changelog = "https://github.com/sco1/zwom/blob/main/CHANGELOG.md"
[project.scripts]
zwom = "zwo.cli:zwom_cli"
[tool.uv]
dev-dependencies = [
"black~=24.8",
"bump2version~=1.0",
"cogapp~=3.4",
"flake8~=7.1",
"flake8-annotations~=3.1",
"isort~=5.13",
"mypy~=1.11",
"pre-commit~=4.0",
"pytest-cov~=6.0",
"pytest-randomly~=3.15",
"pytest~=8.3",
"ruff~=0.6",
"tox~=4.18",
"tox-uv~=1.11",
]
[tool.black]
line-length = 100
[tool.isort]
case_sensitive = true
known_first_party = "zwo,tests"
no_lines_before = "LOCALFOLDER"
order_by_type = false
profile = "black"
line_length = 100
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["zwo/"]