Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (58 loc) · 1.86 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (58 loc) · 1.86 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "typer-rich-progress"
version = "0.1.0"
description = "Consistent Rich progress bars, smoothed ETA and per-worker status for any multiprocessing or asyncio batch job"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "batch-processing.com" }]
keywords = ["rich", "typer", "progress", "cli", "multiprocessing", "asyncio", "eta"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Terminals",
"Typing :: Typed",
]
dependencies = ["rich>=13.7"]
[project.optional-dependencies]
typer = ["typer>=0.12"]
[project.urls]
Homepage = "https://github.com/batch-processing-geospatial-cli-tools/typer-rich-progress"
Documentation = "https://www.batch-processing.com/cli-architecture-design-patterns/rich-console-output-progress-bars/"
[dependency-groups]
dev = [
"mypy>=1.11",
"pytest>=8.2",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.6",
"typer>=0.12",
]
[tool.hatch.build.targets.wheel]
packages = ["src/typer_rich_progress"]
[tool.ruff]
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "C4", "RUF", "ANN", "PT"]
ignore = ["ANN401"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN", "PT012"]
[tool.mypy]
python_version = "3.11"
files = ["src"]
strict = true
warn_unreachable = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov=src/typer_rich_progress --cov-report=term-missing --cov-fail-under=85"