Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 964 Bytes

AGENTS.md

File metadata and controls

6 lines (5 loc) · 964 Bytes

AGENTS.md

  • To set up the development environment, make sure that a venv is created and the pre-commit and pre-push hooks are installed, see .pre-commit-config.yaml
  • The floss/ folder has the main functionality, while scripts/ has auxiliary plugins and scripts. Docs are in doc/.
  • Result caching is on by default. When reproducing or diffing output across commits, disable it with FLOSS_CACHE_ENABLE=0 (or FLOSS_CACHE_DIR to point it at a scratch dir) — otherwise a run may serve a cached document written by earlier code.
  • All lints, formatters, and tests in .github/workflows must pass before making a PR. When applying linters or formatters locally, ALWAYS use pre-commit run <tool> --all-files (e.g., pre-commit run black --all-files). Do not run these tools directly (e.g., black <file>), as doing so bypasses .pre-commit-config.yaml rules (such as 120-character line lengths) and will ruin existing codebase formatting.