From ccfa682036a2d159305735731d4f98e7c5f799fa Mon Sep 17 00:00:00 2001 From: Alexandre Strube <a.strube@fz-juelich.de> Date: Wed, 7 Apr 2021 17:11:31 +0200 Subject: [PATCH] Pre-commit now checks for .py and .eb files. Before, it was only checking for .py --- .pre-commit-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e2cc1e3e..553a9e6b9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,4 +2,6 @@ repos: - repo: https://github.com/pre-commit/mirrors-autopep8 rev: '' # Use the sha / tag you want to point at hooks: - - id: autopep8 \ No newline at end of file + - id: autopep8 + types: [file] + files: \.(eb|py) \ No newline at end of file -- GitLab