diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..48bd62fa --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +repos: + - repo: https://github.com/psf/black + # Version can be updated by running "pre-commit autoupdate" + rev: 24.3.0 + hooks: + - id: black +ci: + # Don't run automatically on PRs, instead add the comment + # "pre-commit.ci autofix" on a pull request to manually trigger auto-fixing + autofix_prs: false