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] [build-system]
requires = ["setuptools>=61.0", "wheel"] requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
@@ -7,11 +7,9 @@ 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"
license = {text = "MIT"}
requires-python = ">=3.8" requires-python = ">=3.8"
authors = [ license = {text = "MIT"}
{name = "Developer", email = "dev@example.com"} authors = [{name = "ConfigConvert Team", email = "team@configconvert.dev"}]
]
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",
@@ -24,19 +22,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", "ruff>=0.4.0",
"mypy>=1.7.0", "mypy>=1.9.0",
] ]
[project.scripts] [project.scripts]
@@ -48,13 +46,25 @@ 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]
source = ["config_convert"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]
[tool.ruff] [tool.ruff]
target-version = "py38" target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = []
[tool.mypy] [tool.mypy]
python_version = "3.8" python_version = "3.8"
warn_return_any = true warn_return_any = true
warn_unused_configs = true warn_unused_configs = true
disallow_untyped_defs = false ignore_missing_imports = true