-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
minimum_pre_commit_version: 3.4.0 | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-merge-conflict # Check for files that contain merge conflict strings. | ||
- id: trailing-whitespace # Trims trailing whitespace. | ||
args: [--markdown-linebreak-ext=md] | ||
- id: mixed-line-ending # Replaces or checks mixed line ending. | ||
args: [--fix=lf] | ||
- id: end-of-file-fixer # Makes sure files end in a newline and only a newline. | ||
- id: check-merge-conflict # Check for files that contain merge conflict strings. | ||
- id: check-ast # Simply check whether files parse as valid python. |