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