Skip to content

Commit

Permalink
Added pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
vorlock committed Oct 30, 2024
1 parent ca5c491 commit 2acf014
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: detect-private-key
- id: check-merge-conflict
- id: check-symlinks
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args: [--settings-path=.github/linters/.isort.cfg]
- repo: https://github.com/PyCQA/flake8
rev: 7.1.0
hooks:
- id: flake8

0 comments on commit 2acf014

Please sign in to comment.