From 07b9b09d8aef0da423c68ba38d7e6ae7c262478c Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Fri, 11 Jan 2019 16:42:29 +0100 Subject: [PATCH] [pre-commit] Add debug statements check and cleanup --- .pre-commit-config.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d492ecc8..bb2dfa1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,23 +1,24 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/ambv/black + - repo: https://github.com/ambv/black rev: stable hooks: - id: black language_version: python3.6 -- repo: https://github.com/pre-commit/pre-commit-hooks + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.0.0 hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - exclude: meta.yaml - - id: check-added-large-files - - id: check-docstring-first - - id: flake8 -- repo: https://github.com/PyCQA/bandit + - id: trailing-whitespace + - id: end-of-file-fixer + - id: debug-statements + - id: check-added-large-files + - id: check-docstring-first + - id: flake8 + - id: check-yaml + exclude: conda/meta.yaml + - repo: https://github.com/PyCQA/bandit rev: 'master' # Update me! hooks: - - id: bandit - exclude: beat/editor/test + - id: bandit + exclude: beat/editor/test -- GitLab