From 4cd597cfdac2fdccc6aec3cf32c269c725e081ac Mon Sep 17 00:00:00 2001 From: Bosco Yung <15840328+bhky@users.noreply.github.com> Date: Sun, 18 Aug 2024 18:53:27 +0900 Subject: [PATCH] Exclude __init__.py in test --- tests/run_code_checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_code_checks.sh b/tests/run_code_checks.sh index 64c59c2..cd5328e 100755 --- a/tests/run_code_checks.sh +++ b/tests/run_code_checks.sh @@ -4,4 +4,4 @@ set -e find opennsfw2 -iname "*.py" | grep -v -e "__init__.py" | xargs -L 1 pylint --errors-only find opennsfw2 -iname "*.py" | grep -v -e "__init__.py" | xargs -L 1 pylint --exit-zero find opennsfw2 -iname "*.py" | grep -v -e "__init__.py" | xargs -L 1 mypy --strict --implicit-reexport --disable-error-code attr-defined --disable-error-code unused-ignore -find tests -iname "*.py" | xargs -L 1 python3 -m unittest \ No newline at end of file +find tests -iname "*.py" | grep -v -e "__init__.py" | xargs -L 1 python3 -m unittest \ No newline at end of file