From e8ddb0c42737c4e4191dd4322e44b83017d5772c Mon Sep 17 00:00:00 2001 From: Trenton Holmes Date: Thu, 3 Mar 2022 09:31:17 -0800 Subject: [PATCH] Removes tslint which doesn't work. Adds exclusions of the migrations folder to Python related hooks --- .pre-commit-config.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9d48c7c4..e8a504a8d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,6 +43,11 @@ repos: rev: "v1.3.0" hooks: - id: yesqa + - repo: https://github.com/asottile/add-trailing-comma + rev: "v2.2.1" + hooks: + - id: add-trailing-comma + exclude: "(migrations)" - repo: https://gitlab.com/pycqa/flake8 rev: 3.9.2 hooks: @@ -60,11 +65,7 @@ repos: rev: 22.1.0 hooks: - id: black - - repo: https://github.com/awebdeveloper/pre-commit-tslint - rev: "0.0.2" - hooks: - - id: tslint - additional_dependencies: ["tslint@5.0.0"] + exclude: "(migrations)" - repo: https://github.com/pryorda/dockerfilelint-precommit-hooks rev: "v0.1.0" hooks: