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]