File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 echo "No changed files to check."
6060 fi
6161
62+ - name : check missing __init__ files
63+ run : bash build_tools/fail_on_missing_init_files.sh
64+
6265 run-tests-no-extras :
6366 needs : code-quality
6467 strategy :
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Script to search for missing init FILES.
4+ set -euxo pipefail
5+
6+ FILES=$( find ./pyaptamer -type d ' !' -exec test -e " {}/__init__.py" " ;" -not -path " **/__pycache__" -print )
7+
8+ if [[ -n " $FILES " ]]
9+ then
10+ echo " Missing __init__.py files detected in the following modules:"
11+ echo " $FILES "
12+ exit 1
13+ fi
Original file line number Diff line number Diff line change @@ -38,3 +38,6 @@ quote-style = "double"
3838line-ending = " lf"
3939indent-style = " space"
4040docstring-code-format = true
41+
42+ [tool .setuptools .packages .find ]
43+ include = [" pyaptamer*" ]
You can’t perform that action at this time.
0 commit comments