Fix CI workflow configuration and pyproject.toml dependencies
Some checks failed
CI / test (3.10) (push) Failing after 9s
CI / test (3.11) (push) Failing after 8s
CI / test (3.12) (push) Failing after 11s
CI / test (3.8) (push) Failing after 9s
CI / test (3.9) (push) Failing after 10s

This commit is contained in:
2026-02-04 07:07:35 +00:00
parent 99156ade28
commit 0fe190a913

View File

@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61.0"]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
@@ -7,9 +7,11 @@ name = "config-convert-cli"
version = "0.1.0"
description = "A CLI tool for bidirectional conversion between JSON, YAML, TOML, and ENV config formats"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [{name = "ConfigConvert Team", email = "team@configconvert.dev"}]
requires-python = ">=3.8"
authors = [
{name = "Developer", email = "dev@example.com"}
]
keywords = ["cli", "config", "conversion", "json", "yaml", "toml", "env"]
classifiers = [
"Development Status :: 4 - Beta",
@@ -22,17 +24,19 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"typer>=0.12.3",
"rich>=13.7.0",
"pyyaml>=6.0.1",
"tomli>=2.0.1; python_version < '3.11'",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"ruff>=0.1.0",
"mypy>=1.7.0",
]
[project.scripts]
@@ -44,12 +48,13 @@ include = ["config_convert*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["config_convert"]
omit = ["tests/*"]
[tool.ruff]
target-version = "py38"
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false