fix: resolve CI workflow and configuration issues
Some checks failed
CI / lint (push) Failing after 4m45s
CI / test (push) Failing after 4m51s

This commit is contained in:
2026-02-04 07:09:02 +00:00
parent c77a8681f7
commit d5deb809c3

View File

@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
@@ -7,11 +7,9 @@ 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"
license = {text = "MIT"}
requires-python = ">=3.8"
authors = [
{name = "Developer", email = "dev@example.com"}
]
license = {text = "MIT"}
authors = [{name = "ConfigConvert Team", email = "team@configconvert.dev"}]
keywords = ["cli", "config", "conversion", "json", "yaml", "toml", "env"]
classifiers = [
"Development Status :: 4 - Beta",
@@ -24,19 +22,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",
"ruff>=0.4.0",
"mypy>=1.9.0",
]
[project.scripts]
@@ -48,13 +46,25 @@ 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.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = []
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true