mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 15:39:43 +00:00
refactor and linting
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# pylint: disable-msg=C0103
|
||||
"""
|
||||
author: deadc0de6 (https://github.com/deadc0de6)
|
||||
Copyright (c) 2018, deadc0de6
|
||||
2
scripts/check-syntax.sh
vendored
2
scripts/check-syntax.sh
vendored
@@ -67,7 +67,7 @@ find . -name "*.py" -not -path "./dotdrop/*" | while read -r script; do
|
||||
--disable=R0914 \
|
||||
--disable=R0915 \
|
||||
--disable=R0913 \
|
||||
--disable=R0201 \
|
||||
--load-plugins pylint.extensions.no_self_use \
|
||||
"${script}"
|
||||
done
|
||||
|
||||
|
||||
4
scripts/check-tests-ng.sh
vendored
4
scripts/check-tests-ng.sh
vendored
@@ -32,13 +32,13 @@ workdir_tmp_exists="no"
|
||||
if [ -z "${GITHUB_WORKFLOW}" ]; then
|
||||
## local
|
||||
export COVERAGE_FILE=
|
||||
tests-ng/tests-launcher.py
|
||||
tests-ng/tests_launcher.py
|
||||
else
|
||||
## CI/CD
|
||||
export COVERAGE_FILE="${cur}/.coverage"
|
||||
# running multiple jobs in parallel sometimes
|
||||
# messes with the results on remote servers
|
||||
tests-ng/tests-launcher.py 1
|
||||
tests-ng/tests_launcher.py 1
|
||||
fi
|
||||
|
||||
# clear workdir
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# pylint: disable-msg=C0103
|
||||
"""
|
||||
author: deadc0de6 (https://github.com/deadc0de6)
|
||||
Copyright (c) 2022, deadc0de6
|
||||
Reference in New Issue
Block a user