diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..195b99b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,57 @@ +[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"]