diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5fc83d1..bfb6f14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +default_install_hook_types: [pre-commit, pre-push] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..afb416d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,8 @@ +# Contributing + +## Development + +Run `pre-commit install` once per clone to install the commit and push hooks. + +- Commit hooks run the same lint, format, and validation checks as CI. +- Run everything with `pre-commit run --all-files --hook-stage pre-push`. diff --git a/README.md b/README.md index 1c492b5..1296cd0 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,13 @@ A running qui-sync instance publishes this repo. Open qui-sync's Export tab, rev - [baker-scripts/StarrScripts](https://github.com/baker-scripts/StarrScripts) includes `qui-xseed.sh` for cross-seed automation. - [TRaSH-/qui_workflows](https://github.com/TRaSH-/qui_workflows) is the tier-based reference. +## Development + +Run `pre-commit install` once per clone to install the commit and push hooks. + +- Commit hooks run the same lint, format, and validation checks as CI. +- Run everything with `pre-commit run --all-files --hook-stage pre-push`. + ## Contributing Issues and pull requests welcome. See the [contributing guidelines](https://github.com/baker-scripts/.github/blob/main/CONTRIBUTING.md), or [open an issue](https://github.com/baker-scripts/qui_workflows/issues) to discuss larger changes.