Skip to content

Commit

Permalink
Add pre-commit config
Browse files Browse the repository at this point in the history
This allows improve source sode base by unifying the look of the code and
automaticaly removing fixing the issues.
  • Loading branch information
jiri-pinkava committed Sep 21, 2022
1 parent a8dffa4 commit 9d2931a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-executables-have-shebangs

0 comments on commit 9d2931a

Please sign in to comment.