Skip to content

Commit

Permalink
build: add pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 15, 2024
1 parent ec6f839 commit ed1f743
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
language_version: python3.10
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black", "--filter-files"]

0 comments on commit ed1f743

Please sign in to comment.