diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4bd21466dc..8a689d70a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,9 +6,13 @@ repos: hooks: # Prevent giant files from being committed. - id: check-added-large-files + # Check whether files parse as valid Python. + - id: check-ast + # Check for file name conflicts on case-insensitive filesytems. + - id: check-case-conflict # Check for files that contain merge conflict strings. - id: check-merge-conflict - # Check for debugger imports and py37+ `breakpoint()` calls in python source. + # Check for debugger imports and py37+ `breakpoint()` calls in Python source. - id: debug-statements # Don't commit to master branch. - id: no-commit-to-branch