- ci.yml: API lint (ruff F+I) + pytest, web vue-tsc + vitest + build - mirror.yml: push to GitHub (CircuitForgeLLC) + Codeberg (CircuitForge) on main/tags - release.yml: Docker build → Forgejo registry + release via API; GHCR deferred pending BSL policy (cf-agents#3) - .cliff.toml: git-cliff changelog config for semver releases - pyproject.toml: add [dev] extras (pytest, ruff), ruff config - Fix 45 ruff violations across codebase (import sorting, unused vars, unused imports)
47 lines
992 B
TOML
47 lines
992 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "snipe"
|
|
version = "0.1.0"
|
|
description = "Auction listing monitor and trust scorer"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"circuitforge-core>=0.8.0",
|
|
"streamlit>=1.32",
|
|
"requests>=2.31",
|
|
"imagehash>=4.3",
|
|
"Pillow>=10.0",
|
|
"python-dotenv>=1.0",
|
|
"beautifulsoup4>=4.12",
|
|
"lxml>=5.0",
|
|
"fastapi>=0.111",
|
|
"python-multipart>=0.0.9",
|
|
"uvicorn[standard]>=0.29",
|
|
"playwright>=1.44",
|
|
"playwright-stealth>=1.0",
|
|
"cryptography>=42.0",
|
|
"PyJWT>=2.8",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"ruff>=0.4",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["app*", "api*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
# E (pycodestyle) deferred — tighten incrementally once existing violations are resolved
|
|
select = ["F", "I"]
|