From e4d4b24a5b2d79cbd7be81bd5b06e881a48e54ba Mon Sep 17 00:00:00 2001 From: Dan Braghis Date: Fri, 11 Feb 2022 14:57:57 +0000 Subject: [PATCH] Add flake8-comprehensions and flake8-assertive to pre-commit --- .pre-commit-config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c9a6ad713..1b01447aea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,6 @@ default_language_version: node: system + python: python3 repos: - repo: https://github.com/psf/black rev: 22.1.0 @@ -12,13 +13,14 @@ repos: rev: 5.6.4 hooks: - id: isort - language_version: python3 - repo: https://gitlab.com/pycqa/flake8 # flake8 config is in setup.cfg rev: 3.8.4 hooks: - id: flake8 - language_version: python3 + additional_dependencies: + - flake8-comprehensions + - flake8-assertive - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.5.1 hooks: