aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-11-26 13:16:15 -0600
committerEugene Triguba <eugenetriguba@gmail.com>2020-11-26 13:16:15 -0600
commit05c92834aa2451249e2da1b9a96f791b2611ce40 (patch)
treea180608561333295b96940995a56aa0a55cbdcaa
parentBump version: 0.11.0 → 0.12.0 (diff)
downloadconfig-file-05c92834aa2451249e2da1b9a96f791b2611ce40.zip
Ignore invalid templates for lint and reduce max complexity
-rw-r--r--.flake82
-rw-r--r--.pre-commit-config.yaml3
2 files changed, 4 insertions, 1 deletions
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