forked from 0xWheatyz/SPARC
fbb72fe2a5
- Add test job to build.yaml that runs pytest and ruff before building images - Add standalone test.yaml workflow for PRs - Add ruff.toml with E/F/I rules configured - Fix all ruff lint errors: sort imports, remove unused imports, fix re-exports - Build jobs now depend on test job passing (needs: test) Closes leeworks-agents/SPARC#18 Closes leeworks-agents/SPARC#19 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
216 B
TOML
9 lines
216 B
TOML
[lint]
|
|
select = ["E", "F", "I"]
|
|
ignore = [
|
|
"E501", # line too long (handled by formatter)
|
|
]
|
|
|
|
[lint.per-file-ignores]
|
|
"tests/*" = ["E402", "F841"] # allow import not at top of file, unused vars (mocks) in tests
|