mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 08:58:29 +00:00
output
This commit is contained in:
4
scripts/check-syntax.sh
vendored
4
scripts/check-syntax.sh
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user