чуть подредактировал

This commit is contained in:
2026-09-07 22:33:51 +03:00
parent 320d88b0b8
commit 843a6a1c12
9 changed files with 245 additions and 121 deletions

View File

@@ -3,20 +3,33 @@ requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "text_analyzer"
name = "numstats"
version = "0.1.0"
description = "CLI tool for analyzing text files"
description = "CLI tool for statistical analysis of numeric data from files"
readme = "README.md"
requires-python = ">=3.12"
authors = [
{name = "Your Name", email = "your@email.com"}
]
dependencies = []
[project.scripts]
text-analyzer = "text_analyzer.cli:main"
numstats = "numstats.cli:main"
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src/numstats --cov-report=term-missing"