40 lines
939 B
TOML
40 lines
939 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "cli-calculator"
|
|
version = "0.3.0"
|
|
description = "Калькулятор математических выражений на чистом Python (токенизация -> AST -> eval)."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Вайбкодер" }]
|
|
keywords = ["calculator", "expression-parser", "ast", "cli"]
|
|
|
|
[project.scripts]
|
|
calc = "cli:main"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["calculator", "parser", "nodes", "cli"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["."]
|
|
python_files = ["test_*.py"]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
source = ["calculator", "parser", "nodes", "cli"]
|
|
|
|
[tool.ruff]
|
|
line-length = 90
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
warn_unused_ignores = true
|
|
ignore_missing_imports = true
|