From 6c749e0843c613190efc8b31581aa60213381a52 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 30 Aug 2022 13:32:25 +0200 Subject: [PATCH] finally separate flake8 config file removed --- .pre-commit-config.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7eea836..55ad1bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,12 +12,12 @@ repos: - repo: local hooks: - id: isort-project - name: isort_project + name: isort project entry: isort -rc src language: system pass_filenames: false - id: isort-test - name: isort_test + name: isort test entry: isort -rc tests language: system pass_filenames: false @@ -27,8 +27,13 @@ repos: language: system pass_filenames: false - id: flake8 - name: flake8 - entry: flake8 --ignore E231,W503 src tests + name: flake8 project + entry: flake8 --ignore E231,W503 src + language: system + pass_filenames: false + - id: flake8 + name: flake8 test + entry: flake8 --ignore S101 tests language: system pass_filenames: false - id: pytest