👷 Added Pre commit hooks

This commit is contained in:
Nikhil Badyal
2022-10-23 22:13:55 +05:30
parent c4bf54b188
commit d620acbbf6
+7 -2
View File
@@ -6,18 +6,23 @@ repos:
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-toml
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0