1
0
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:
deadc0de6
2023-01-28 20:45:43 +01:00
committed by deadc0de
parent ed8cc8bf5a
commit 9fbd3d37f6
8 changed files with 62 additions and 63 deletions

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# pylint: disable-msg=C0103
"""
author: deadc0de6 (https://github.com/deadc0de6)
Copyright (c) 2018, deadc0de6

View File

@@ -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

View File

@@ -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

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# pylint: disable-msg=C0103
"""
author: deadc0de6 (https://github.com/deadc0de6)
Copyright (c) 2022, deadc0de6