Skip to content

Commit

Permalink
Fixes by pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Apr 1, 2024
1 parent acc3899 commit 824028b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-xml
- id: check-merge-conflict
- id: mixed-line-ending
- id: end-of-file-fixer
- id: trailing-whitespace
# autopep8 for Python formatting
- repo: https://github.com/hhatto/autopep8
rev: v2.1.0
hooks:
- id: autopep8
args: [--recursive --diff --aggressive --aggressive --exit-code --ignore E402 --max-line-length 120 .]
# isort for python imports
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort

0 comments on commit 824028b

Please sign in to comment.