From c713ce206535a4df1d7308ae9233a0eea5fb2dbf Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Mon, 29 Mar 2021 23:59:53 +0300 Subject: [PATCH] Add pytest run to pre-commit config --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 43933b9..3c05d17 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -70,3 +70,10 @@ repos: entry: bin/run-in-env pylint language: system types: [python] + # Uncomment lines below to test code on every commit +# - id: pytest +# name: pytest +# entry: bin/run-in-env pytest +# language: system +# pass_filenames: false +# always_run: true