From a9639d434743e5a47a32a68975a4a3e4872a88b5 Mon Sep 17 00:00:00 2001 From: ModischFabrications Date: Sat, 25 Apr 2020 00:35:32 +0200 Subject: [PATCH] Revert "try python, don't use unsupported hacks (see https://github.com/pre-commit/pre-commit/issues/1412, sorry asottile)" This reverts commit 9b6d8f93 --- .pre-commit-config.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e4a27df..0a3943a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,9 +59,8 @@ repos: description: tag git version if it's outdated pass_filenames: false verbose: true - entry: tag_from_version.py - language: python - additional_dependencies: [gitpython] + entry: python tag_from_version.py + language: system # git version check only needed if version could have changed files: main.py types: [python] @@ -74,7 +73,6 @@ repos: # don't run for every file, always full execution (with default filters to skip untestable files) pass_filenames: false entry: python -m pytest -sv - language: python - additional_dependencies: [pytest] + language: system types: [python] stages: [push]