Skip to content

Commit

Permalink
try python, don't use unsupported hacks (see pre-commit/pre-commit#1412
Browse files Browse the repository at this point in the history
…, sorry asottile)
  • Loading branch information
ModischFabrications committed Apr 24, 2020
1 parent f802e68 commit 9b6d8f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Expand Up @@ -59,8 +59,9 @@ repos:
description: tag git version if it's outdated
pass_filenames: false
verbose: true
entry: python tag_from_version.py
language: system
entry: tag_from_version.py
language: python
additional_dependencies: [gitpython]
# git version check only needed if version could have changed
files: main.py
types: [python]
Expand All @@ -73,6 +74,7 @@ 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: system
language: python
additional_dependencies: [pytest]
types: [python]
stages: [push]

0 comments on commit 9b6d8f9

Please sign in to comment.