- 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, whilescripts/has auxiliary plugins and scripts. Docs are indoc/. - Result caching is on by default. When reproducing or diffing output across commits, disable it with
FLOSS_CACHE_ENABLE=0(orFLOSS_CACHE_DIRto 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/workflowsmust pass before making a PR. When applying linters or formatters locally, ALWAYS usepre-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.yamlrules (such as 120-character line lengths) and will ruin existing codebase formatting.