Initial upload of i18n-key-sync project
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-02 03:53:51 +00:00
parent 918c141923
commit a76b2e6838

58
pyproject.toml Normal file
View File

@@ -0,0 +1,58 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "i18n-key-sync"
version = "1.0.0"
description = "A CLI tool that scans source code to extract, validate, and manage i18n translation keys"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["i18n", "internationalization", "translation", "cli", "localization"]
authors = [
{name = "i18n-key-sync", email = "dev@example.com"}
]
dependencies = [
"click>=8.0",
"pyyaml>=6.0",
"rich>=12.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
]
[project.scripts]
i18n-key-sync = "i18n_key_sync.cli:main"
[tool.setuptools.packages.find]
include = ["i18n_key_sync*"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "D", "UP", "B", "C90", "N", "YTT", "ASYNC", "PIE", "T20", "SIM", "ARG", "PTH", "PL", "TRY", "PERF", "FURB"]
ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"