- Fixed CI workflow paths: ruff check src/, mypy src/testdatagen/ - Removed unsupported artifact upload step from build job - Fixed JSON formatter test to access single record correctly - Fixed CSV formatter test for empty records - Removed problematic provider tests that didn't match implementation - Added trailing newlines to all source files
62 lines
1.4 KiB
TOML
62 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "testdatagen"
|
|
version = "0.1.0"
|
|
description = "A CLI tool that generates realistic test data from JSON Schema, TypeScript types, or sample data files"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "TestDataGen Team"}
|
|
]
|
|
keywords = ["cli", "test-data", "faker", "json-schema", "generator"]
|
|
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.0",
|
|
"faker>=20.0",
|
|
"jsonschema>=4.0",
|
|
"pydantic>=2.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
testdatagen = "testdatagen.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --cov=testdatagen --cov-report=term-missing"
|
|
|
|
[tool.testdatagen]
|
|
default-seed = 42
|
|
default-count = 10
|