Skip to content

Commit

Permalink
[FEATURE] Added precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
SammithSB authored and roysti10 committed Feb 8, 2021
1 parent 001642f commit 7b8b101
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-ast
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
types: [python]
- id: requirements-txt-fixer
- id: trailing-whitespace
types: [python]

- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.7.1
hooks:
- id: rst-backticks
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.6.0
hooks:
- id: pylint

0 comments on commit 7b8b101

Please sign in to comment.