From 214997d1705190ad6d0c0059b3b64e7ca84bafec Mon Sep 17 00:00:00 2001 From: Daniel Shimon Date: Sat, 29 May 2021 23:44:31 +0300 Subject: [PATCH] pre-commit: Lint tests dir (#4298) --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb5a231c6..b44752f51 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,8 +5,9 @@ repos: name: black # this gets run within development environment. # Otherwise will raise command not found or use system level binary - entry: black --check xonsh/ xontrib/ + entry: black --check xonsh/ xontrib/ tests/ language: system + stages: [ commit ] types: - python - id: qa