diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-11-26 13:16:15 -0600 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-11-26 13:16:15 -0600 |
| commit | 05c92834aa2451249e2da1b9a96f791b2611ce40 (patch) | |
| tree | a180608561333295b96940995a56aa0a55cbdcaa | |
| parent | Bump version: 0.11.0 → 0.12.0 (diff) | |
| download | config-file-05c92834aa2451249e2da1b9a96f791b2611ce40.zip | |
Ignore invalid templates for lint and reduce max complexity
| -rw-r--r-- | .flake8 | 2 | ||||
| -rw-r--r-- | .pre-commit-config.yaml | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |