mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-04 00:29:10 -05:00
Remove trainling space thing
This commit is contained in:
@@ -2,11 +2,8 @@ repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: trailing-whitespace # Removes extra spaces
|
||||
files: &files ^contents/.*\.(qmd|bib)$ # Restrict to .qmd and .bib files in contents/
|
||||
|
||||
- id: end-of-file-fixer # Ensures a newline at EOF
|
||||
files: *files
|
||||
files: &files ^contents/.*\.(qmd|bib)$ # Restrict to .qmd and .bib files in contents/
|
||||
|
||||
- id: check-yaml # Checks YAML syntax
|
||||
files: *files
|
||||
files: *files
|
||||
|
||||
Reference in New Issue
Block a user