From 2acf0142f8442e6c4e0e08eb0a5daca893e9e472 Mon Sep 17 00:00:00 2001 From: Marcin Kulisz Date: Wed, 30 Oct 2024 21:34:38 +0000 Subject: [PATCH] Added pre-commit config --- .pre-commit-config.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 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..5baf0a7 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,21 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-added-large-files + - id: detect-private-key + - id: check-merge-conflict + - id: check-symlinks +- repo: https://github.com/PyCQA/isort + rev: 5.13.2 + hooks: + - id: isort + args: [--settings-path=.github/linters/.isort.cfg] +- repo: https://github.com/PyCQA/flake8 + rev: 7.1.0 + hooks: + - id: flake8