We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 367670e commit 1effaf4Copy full SHA for 1effaf4
ci/code_checks.sh
@@ -184,6 +184,11 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
184
invgrep -R --include="*.rst" ".. ipython ::" doc/source
185
RET=$(($RET + $?)) ; echo $MSG "DONE"
186
187
+ # Check for blank lines after the class definition
188
+ MSG='Check for extra blank lines after the class definition' ; echo $MSG
189
+ invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' doc/source/
190
+ RET=$(($RET + $?)) ; echo $MSG "DONE"
191
+
192
MSG='Check that no file in the repo contains tailing whitespaces' ; echo $MSG
193
set -o pipefail
194
if [[ "$AZURE" == "true" ]]; then
0 commit comments