Add pre-commit config

This allows improve source sode base by unifying the look of the code and
automaticaly removing fixing the issues.
pull/663/head
Jiří Pinkava 2022-09-20 22:56:34 +02:00
rodzic a8dffa4f31
commit 9d2931ac16
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -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