From ae02cfab46f0483b7e5e3233f35e63de58fced95 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Mon, 5 Jun 2023 13:04:26 +0200 Subject: [PATCH] add pre_commit_config --- .pre-commit-config.yaml | 12 ++++++++++++ 1 file changed, 12 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..816e4e2 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,12 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace +- repo: https://github.com/psf/black + rev: 23.3.0 + hooks: + - id: black + files: ^src/