Skip to content

Commit

Permalink
Create precommit.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bio-boris authored Apr 24, 2024
1 parent d41d38c commit cb8f0c4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/precommit.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 cb8f0c4

Please sign in to comment.