Skip to content

Commit

Permalink
Exclude __init__.py in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bhky committed Aug 18, 2024
1 parent f20fa7c commit 4cd597c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run_code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
find tests -iname "*.py" | grep -v -e "__init__.py" | xargs -L 1 python3 -m unittest

0 comments on commit 4cd597c

Please sign in to comment.