diff options
author | Nathaniel Case <this.is@nathanielca.se> | 2021-02-18 16:10:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 21:10:39 +0000 |
commit | 7f81392b306defda822bf8835cf59e207aad1af7 (patch) | |
tree | b1781551aa70173b39650811787d514a1bf67e1d /.pre-commit-config.yaml | |
parent | b739944aabe5d3c287a89544fc365382d2719070 (diff) | |
download | vyos-ansible-old-7f81392b306defda822bf8835cf59e207aad1af7.tar.gz vyos-ansible-old-7f81392b306defda822bf8835cf59e207aad1af7.zip |
Add pre-commit config file (#116)
Add pre-commit config file
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..19bc9e0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,21 @@ +--- +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.1.0 + hooks: + - id: check-merge-conflict + - id: check-symlinks + - id: debug-statements + - id: end-of-file-fixer + - id: no-commit-to-branch + args: [--branch, main] + - id: trailing-whitespace + - repo: https://github.com/psf/black + rev: 19.3b0 + hooks: + - id: black + args: [-l, "79"] + - repo: https://github.com/ansible-network/collection_prep + rev: 0.9.1 + hooks: + - id: update-docs |