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 /tox.ini | |
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 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,12 +10,12 @@ deps = -r{toxinidir}/requirements.txt [testenv:black] install_command = pip install {opts} {packages} commands = - black -v -l79 {toxinidir} + black --exclude '\.git|\.mypy_cache|\.tox|tests/output' {toxinidir} [testenv:linters] install_command = pip install {opts} {packages} commands = - black -v -l79 --diff --check {toxinidir} + black --exclude '\.git|\.mypy_cache|\.tox|tests/output' --check {toxinidir} flake8 {posargs} yamllint -s . |