From 10d1378277a4a0af3db969fe3446d4f5548ad1b1 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 26 Apr 2021 00:34:25 -0700 Subject: [PATCH] don't run pycodestyle on node_modules directory --- scripts/git-hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/git-hooks/pre-commit b/scripts/git-hooks/pre-commit index c704921c5..f710326af 100755 --- a/scripts/git-hooks/pre-commit +++ b/scripts/git-hooks/pre-commit @@ -23,7 +23,7 @@ if [ -d ./venv/ ]; then fi echo "Validating PEP8 compliance..." -pycodestyle --ignore=W504,E501 netbox/ +pycodestyle --ignore=W504,E501 --exclude=node_modules netbox/ if [ $? != 0 ]; then EXIT=1 fi