чуть подредактировал
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user