1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-12 08:58:29 +00:00
This commit is contained in:
deadc0de6
2023-01-28 16:49:58 +01:00
committed by deadc0de
parent 889610cc06
commit 7560a4daba

View File

@@ -73,20 +73,17 @@ done
# W504: Line break occurred after a binary operator # W504: Line break occurred after a binary operator
echo "---------------------------------" echo "---------------------------------"
echo "checking dotdrop with pycodestyle" echo "checking dotdrop with pycodestyle"
echo "---------------------------------"
pycodestyle --ignore=W503,W504 dotdrop/ pycodestyle --ignore=W503,W504 dotdrop/
pycodestyle scripts/ pycodestyle scripts/
# pyflakes tests # pyflakes tests
echo "------------------------------" echo "------------------------------"
echo "checking dotdrop with pyflakes" echo "checking dotdrop with pyflakes"
echo "------------------------------"
pyflakes dotdrop/ pyflakes dotdrop/
# pylint # pylint
echo "----------------------------" echo "----------------------------"
echo "checking dotdrop with pylint" echo "checking dotdrop with pylint"
echo "----------------------------"
# https://pylint.pycqa.org/en/latest/user_guide/checkers/features.html # https://pylint.pycqa.org/en/latest/user_guide/checkers/features.html
# R0902: too-many-instance-attributes # R0902: too-many-instance-attributes
# R0913: too-many-arguments # R0913: too-many-arguments
@@ -109,7 +106,6 @@ pylint \
echo "------------------------" echo "------------------------"
echo "checking for more issues" echo "checking for more issues"
echo "------------------------"
set +e set +e
exceptions="save_uservariables_name\|@@\|diff_cmd\|original,\|modified," exceptions="save_uservariables_name\|@@\|diff_cmd\|original,\|modified,"
# f-string errors and missing f literal # f-string errors and missing f literal