|
@@ -71,20 +71,14 @@ init_tests() {
|
|
|
- $cmdtest_py dev
|
|
|
"
|
|
|
|
|
|
- PYLINT_OPTS='--errors-only --jobs=0'
|
|
|
+ [ "$VERBOSE" ] || STDOUT_DEVNULL='> /dev/null'
|
|
|
d_lint="code errors with static code analyzer"
|
|
|
t_lint="
|
|
|
- b $pylint $PYLINT_OPTS mmgen
|
|
|
- b $pylint $PYLINT_OPTS test
|
|
|
- b $pylint $PYLINT_OPTS --disable=relative-beyond-top-level test/cmdtest_d
|
|
|
- a $pylint $PYLINT_OPTS --ignore-paths '.*/eth/.*' mmgen
|
|
|
- a $pylint $PYLINT_OPTS --ignore-paths '.*/ut_dep.py,.*/ut_testdep.py' test
|
|
|
- a $pylint $PYLINT_OPTS --ignore-paths '.*/ct_ethdev.py' --disable=relative-beyond-top-level test/cmdtest_d
|
|
|
- - $pylint $PYLINT_OPTS examples
|
|
|
+ b ruff check mmgen $STDOUT_DEVNULL
|
|
|
+ b ruff check test $STDOUT_DEVNULL
|
|
|
+ b ruff check examples $STDOUT_DEVNULL
|
|
|
"
|
|
|
|
|
|
- if [ "$SKIP_ALT_DEP" ]; then t_lint_skip='b'; else t_lint_skip='a'; fi
|
|
|
-
|
|
|
d_daemon="low-level subsystems involving coin daemons"
|
|
|
t_daemon="- $daemontest_py --exclude exec"
|
|
|
|