Commit 0c9d4a8e authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[pre-commit] Exclude on purpose test bad file from some checks

- black
- debug-statements
- bandit

These files are explicitly wrong to test that the system is
working as expected when encountering such errors.
parent dd240658
......@@ -6,12 +6,14 @@ repos:
- id: black
language_version: python3.6
exclude: beat/core/test/prefix/algorithms/user/syntax_error/|beat/core/test/prefix/databases/invalid/
- repo:
rev: v2.0.0
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
exclude: beat/core/test/prefix/algorithms/user/syntax_error/|beat/core/test/prefix/databases/invalid/
- id: check-added-large-files
- id: check-docstring-first
- id: flake8
......@@ -21,7 +23,7 @@ repos:
rev: 'master' # Update me!
- id: bandit
exclude: beat/editor/test
exclude: beat/editor/test|beat/core/test/prefix/algorithms/user/syntax_error/|beat/core/test/prefix/databases/invalid/
- repo: local
- id: sphinx-build
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment