From b8556498efb22529438594cf8fb68cbcf899127c Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 8 Apr 2022 17:46:53 +0200 Subject: [PATCH] Fix pre-commit to actually work --- .pre-commit-config.yaml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 28eb0ae38..31af5b7c7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,30 +5,17 @@ repos: rev: '4.0.1' hooks: - id: flake8 - stages: [push] + # stages: [push] - repo: https://github.com/pre-commit/mirrors-mypy rev: 'v0.942' hooks: - id: mypy - stages: [push] + # stages: [push] - repo: https://github.com/pycqa/isort rev: '5.10.1' hooks: - id: isort name: isort (python) - stages: [push] - -# https://github.com/pre-commit/pre-commit/issues/761#issuecomment-394167542 -- repo: local - hooks: - - id: pytest - name: pytest - entry: venv/bin/pytest - language: script - pass_filenames: false - # alternatively you could `types: [python]` so it only runs when python files change - # though tests might be invalidated if you were to say change a data file - always_run: true - stages: [push] \ No newline at end of file + # stages: [push]