Skip to content

Commit

Permalink
Added pre-commit (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
regebro authored Oct 9, 2023
1 parent 85319c1 commit bfb32da
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/regebro/pyroma
rev: '4.2'
hooks:
- id: pyroma
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Changes
5.2 (unreleased)
----------------

- Nothing changed yet.
- Added a pre-commit config

- Updated python versions [hugovk]


5.1 (2023-10-04)
Expand Down

0 comments on commit bfb32da

Please sign in to comment.