58 lines
1.4 KiB
TOML
58 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "i18n-guardian"
|
|
version = "1.0.0"
|
|
description = "A CLI tool that scans codebases for internationalization issues"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "i18n-guardian Team"}
|
|
]
|
|
keywords = ["i18n", "internationalization", "cli", "l10n", "localization"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12"
|
|
]
|
|
|
|
dependencies = [
|
|
"click>=8.1.8",
|
|
"tree-sitter>=0.25.2",
|
|
"pyyaml>=6.0.3",
|
|
"rich>=14.3.2",
|
|
"pathspec>=1.0.4",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=9.0.2",
|
|
"pytest-cov>=6.1.2",
|
|
]
|
|
|
|
[project.scripts]
|
|
i18n-guardian = "i18n_guardian.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
|
|
[tool.coverage.run]
|
|
source = ["i18n_guardian"]
|
|
omit = ["tests/*"]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = ["pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError"]
|