From d5deb809c3604a4ef25c071056fa90d553805fb7 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 07:09:02 +0000 Subject: [PATCH] fix: resolve CI workflow and configuration issues --- pyproject.toml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c417b42..3c0cb0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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