Skip to content

Commit 9821ed2

Browse files
committed
add whitespace fixer to pre-commit config
1 parent e42ed54 commit 9821ed2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ repos:
2626
hooks:
2727
- id: mypy
2828
args: [--follow-imports=silent, --disallow-untyped-defs, --disallow-incomplete-defs, --disallow-untyped-calls]
29-
language_version: python3
29+
language_version: python3
30+
- repo: https://github.com/pre-commit/pre-commit-hooks
31+
rev: v4.6.0
32+
hooks:
33+
- id: trailing-whitespace
34+
- id: end-of-file-fixer

0 commit comments

Comments
 (0)