Skip to content

Commit

Permalink
Create .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bio-boris authored Apr 24, 2024
1 parent cb8f0c4 commit d88ac4b
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: v3.2.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: 23.7.0
hooks:
- id: black
language_version: python3.12

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
args: [ --config, pyproject.toml ]

0 comments on commit d88ac4b

Please sign in to comment.