Skip to content

Commit

Permalink
Add pre commit config file
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushdg committed Mar 19, 2024
1 parent da38b05 commit 4534324
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
language_version: python3

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args:
- "--profile"
- "black"

0 comments on commit 4534324

Please sign in to comment.