Browse Source

tech: add pre-commit configuration

tags/3.17.0
parent
commit
ca1236bf78
Signed by: christophe.vkerchove <christophe.vkerchove@fxinnovation.com> GPG Key ID: 0A0AD982455B0314
2 changed files with 12 additions and 0 deletions
  1. +9
    -0
      .pre-commit-config.yaml
  2. +3
    -0
      README.md

+ 9
- 0
.pre-commit-config.yaml View File

@@ -0,0 +1,9 @@
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: detect-private-key

+ 3
- 0
README.md View File

@@ -27,3 +27,6 @@ If you have comments or detect an issue, please be adviced we don't check the do

## CHANGELOG and AUTHOR files
These file are generate using the `git changelog` and `git authors` commands made available using the `git-extras` package. Please refer to your OS's package documentation to install these tools.

## pre-commit
This repository uses a pre-commit config file. Our CI will automatically run pre-commit. For more information about pre-commit: https://pre-commit.com/

Loading…
Cancel
Save