From 05c92834aa2451249e2da1b9a96f791b2611ce40 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 26 Nov 2020 13:16:15 -0600 Subject: Ignore invalid templates for lint and reduce max complexity --- .flake8 | 2 +- .pre-commit-config.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 08be406..2d3a95d 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,3 @@ [flake8] max-line-length = 88 -max-complexity = 15 +max-complexity = 10 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 879742c..7577619 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +# Ignore invalid template test files +exclude: invalid.* + repos: - repo: git@github.com:humitos/mirrors-autoflake.git rev: v1.3 -- cgit v1.2.3