mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
don't run pycodestyle on node_modules directory
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user