[build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "dataforge-cli" version = "1.0.0" description = "A CLI tool that converts and validates data formats (JSON, YAML, TOML) with schema validation using JSON Schema" readme = "README.md" license = {text = "MIT"} requires-python = ">=3.8" classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] keywords = ["cli", "json", "yaml", "toml", "validation", "conversion"] dependencies = [ "click>=8.0", "pyyaml>=6.0", "jsonschema>=4.17", 'tomli>=2.0; python_version < "3.11"', "tomli-w>=1.0", ] [project.optional-dependencies] dev = [ "pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.1.0", "black>=23.0.0", "mypy>=1.0.0", ] [project.scripts] dataforge = "dataforge.cli:main" [tool.setuptools.packages.find] include = ["dataforge*"] [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] [tool.coverage.run] source = ["dataforge"] omit = ["tests/*"] [tool.coverage.report] exclude_lines = [ "pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError", ] [tool.ruff] target-version = "py38" [tool.ruff.lint] select = ["E", "F", "W", "I"] ignore = [] [tool.black] line-length = 88 target-version = ["py38", "py39", "py310", "py311", "py312"] [tool.mypy] python_version = "3.8" warn_return_any = true warn_unused_configs = true ignore_missing_imports = true