From b99888fefa21cf82466743ece9b529e01afb3e25 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 02:18:53 +0000 Subject: [PATCH] fix: resolve CI linting and type checking issues --- app/pyproject.toml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 app/pyproject.toml diff --git a/app/pyproject.toml b/app/pyproject.toml new file mode 100644 index 0000000..a059613 --- /dev/null +++ b/app/pyproject.toml @@ -0,0 +1,39 @@ +[project] +name = "cmdparse" +version = "0.1.0" +description = "A CLI tool that parses unstructured CLI command output into structured formats" +readme = "README.md" +requires-python = ">=3.8" +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dependencies = [ + "PyYAML>=6.0", + "click>=8.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", + "types-PyYAML>=6.0", +] + +[project.scripts] +cmdparse = "cmdparse.cli:main" + +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"]