mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
don't run pycodestyle on node_modules directory
This commit is contained in:
parent
8b2f4780ed
commit
10d1378277
@ -23,7 +23,7 @@ if [ -d ./venv/ ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Validating PEP8 compliance..."
|
echo "Validating PEP8 compliance..."
|
||||||
pycodestyle --ignore=W504,E501 netbox/
|
pycodestyle --ignore=W504,E501 --exclude=node_modules netbox/
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
EXIT=1
|
EXIT=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user