From f6dba66dcb8cd07a11a72b4cebec8d96086563ab Mon Sep 17 00:00:00 2001 From: Florian Obersteiner <florian.obersteiner@kit.edu> Date: Tue, 29 Mar 2022 14:19:11 -0600 Subject: [PATCH] added precommit cfg --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..858e72f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace +- repo: https://github.com/psf/black + rev: 22.1.0 + hooks: + - id: black -- GitLab