From ac0b867dc7445dd2c8e2da0da19fafd235dcb9c5 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 16 Jun 2019 15:42:31 -0700 Subject: [PATCH] Black Formatting - travis # --- .pre-commit-config.yaml | 5 +++++ .pylintrc | 2 ++ 2 files changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67f8bb4..7e2b11f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,3 +4,8 @@ repos: hooks: - id: black language_version: python3 +- repo: https://github.com/sebdah/git-pylint-commit-hook + rev: 2.5.1 + hooks: + - id: pylint + language_version: python3 diff --git a/.pylintrc b/.pylintrc index 494e67f..9bb57ed 100644 --- a/.pylintrc +++ b/.pylintrc @@ -20,6 +20,8 @@ # "duplicate-code" was disabled due to PyLint complaining about using the same logzero debug # configuration in two files. Apparently having a consistent logging configuration is "bad". +[pre-commit-hook] +limit=10.0 [MASTER]