From 5be61d84ac3bfddd23bd623192f0356235befc1d Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 30 Jan 2026 18:13:44 +0000 Subject: [PATCH] fix: resolve CI linting failures by removing unused imports --- pyproject.toml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..830286f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,58 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "config_auditor" +version = "1.0.0" +description = "A CLI tool that scans project configuration files and detects issues" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.9" +authors = [ + {name = "Config Auditor Team", email = "dev@example.com"} +] +keywords = ["config", "cli", "audit", "scanner"] +classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dependencies = [ + "click>=8.0.0", + "PyYAML>=6.0", + "toml>=0.10.0", + "requests>=2.31.0", + "semver>=3.0.0", + "packaging>=23.0", + "ollama>=0.1.41", +] + +[project.scripts] +config-auditor = "config_auditor.cli:main" + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "pytest-mock>=3.10.0", + "ruff>=0.1.0", + "mypy>=1.0.0", + "types-requests>=2.25.0", +] + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_classes = ["Test*"] +python_functions = ["test_*"] +addopts = "-v --cov=config_auditor --cov-report=term-missing"