Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!62Code cleanup
......@@ -6,12 +6,14 @@ repos:
hooks:
- id: black
language_version: python3.6
exclude: beat/core/test/prefix/algorithms/user/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
exclude: beat/core/test/prefix/algorithms/user/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
- id: check-added-large-files
- id: check-docstring-first
- id: flake8
......@@ -21,7 +23,7 @@ repos:
rev: 'master' # Update me!
hooks:
- id: bandit
exclude: beat/editor/test
exclude: beat/editor/test|beat/core/test/prefix/algorithms/user/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
- repo: local
hooks:
- id: sphinx-build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment