diff options
author | Shawn Wilsher <656602+sdwilsh@users.noreply.github.com> | 2022-09-02 06:22:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 09:22:14 -0400 |
commit | 69a2882d106171f050fac193a552542cdab418a8 (patch) | |
tree | 03e419d47de81b473b96f4f2a2a6c8b9f2bee5f8 /.pre-commit-config.yaml | |
parent | 4c116b506d4a529370dd63761f601a89d1adbf92 (diff) | |
download | vyos.vyos-69a2882d106171f050fac193a552542cdab418a8.tar.gz vyos.vyos-69a2882d106171f050fac193a552542cdab418a8.zip |
Fix `pre-commit` Issues (#223)
* Fix `pre-commit` Issues
This change fixes `.pre-commit-config.yaml` so that `main` no longer has
errors on it. To accomplish that, two things had to be done:
* Update the version of `black` that `pre-commit` uses to match what `tox` uses.
* Run `pre-commit run --all-files` and commit the results
Co-authored-by: Kate Case <this.is@katherineca.se>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7661ca6..1f7653f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,21 +1,20 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.1.0 + rev: v4.3.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 + rev: 22.6.0 hooks: - id: black - args: [-l, "79"] + - repo: https://github.com/ansible-network/collection_prep - rev: 0.9.4 + rev: 1.0.0 hooks: - id: update-docs |