Initial upload with CI/CD workflow
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-02 18:27:11 +00:00
parent b6f3bfa77d
commit 4422da8285

54
pyproject.toml Normal file
View File

@@ -0,0 +1,54 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "code-pattern-search-cli"
version = "0.1.0"
description = "A CLI tool that searches GitHub repositories by actual code patterns using regex matching"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"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.1.7",
"requests==2.31.0",
"ghapi==1.0.4",
"rich==13.7.0",
"pyyaml==6.0.1",
"diskcache==5.6.3",
]
[project.scripts]
code-pattern-search = "src.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"flake8>=6.0.0",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.flake8]
max-line-length = 100
exclude = ["__pycache__", ".git", "venv", "node_modules"]