Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds a GitHub Action workflow to run [pre-commit](https://pre-commit.com/) to run checks on changed files. The following checks are active: - check-added-large-files: prevent large files from being committed - check-case-conflict: checks for files that would conflict in case-insensitive filesystems - check-toml, check-yaml: check toml/yaml parseability - end-of-file-fixer: make sure files end with newline - mixed-line-ending: check for mixed line endings - trailing-whitespace: no trailing whitespace To configure `pre-commit` to run locally when committing: i) install pre-commit and ii) install the hook with `pre-commit install`.
- Loading branch information