summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorShawn Wilsher <656602+sdwilsh@users.noreply.github.com>2022-09-02 06:22:14 -0700
committerGitHub <noreply@github.com>2022-09-02 09:22:14 -0400
commit69a2882d106171f050fac193a552542cdab418a8 (patch)
tree03e419d47de81b473b96f4f2a2a6c8b9f2bee5f8 /tox.ini
parent4c116b506d4a529370dd63761f601a89d1adbf92 (diff)
downloadvyos.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.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 49e9b1d..6bd8489 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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 .