* Resolve F541 errors * Resolve F841 errors * Resolve F811 errors * Resolve F901 errors * Resolve E714 errors * Ignore F821 errors for GraphQL mixins * Replace pycodestyle with ruff * Move ignores to ruff.toml
This commit is contained in:
@@ -28,8 +28,8 @@ if [ ${NOVALIDATE} ]; then
|
||||
exit $EXIT
|
||||
fi
|
||||
|
||||
echo "Validating PEP8 compliance..."
|
||||
pycodestyle --ignore=W504,E501 --exclude=node_modules netbox/
|
||||
echo "Linting with ruff..."
|
||||
ruff check netbox/
|
||||
if [ $? != 0 ]; then
|
||||
EXIT=1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user