Custom Linter to Check DEBUG_MODE (#1183)

* Added debug_mode check

* Changed pre-commit hook

* Changed pre-commit hook

* Fixing error

* Fixed DCF tests (Sorry Didier)

* Removed the br thingy

* Dider changes
This commit is contained in:
Colin Delahunty
2022-01-13 20:26:27 -05:00
committed by GitHub
parent 955b84f540
commit 10c36013f0
3 changed files with 43 additions and 1 deletions

View File

@@ -1,4 +1,13 @@
repos:
- repo: local
hooks:
- id: check-debug-mode
name: check-debug-mode
entry: python custom_pre_commit/debug_mode.py
language: python
language_version: python3
types: ["file"]
pass_filenames: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks: