Skip to content

Commit c979b39

Browse files
committed
Added some thoughts on using flake8 as part of the merge process.
- Legacy-Id: 17197
1 parent 3db4872 commit c979b39

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

bin/mergedevbranch

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,13 @@ G=$(svn st | cut -c 1-7 | grep -oh 'G' | head -n 1)
193193
##cp cicmd/commit-${rev}-merge.sh merged@$rev/commit
194194
##cd -
195195
196+
# Potentially run flake8 at this point
197+
# read -p "Run flake8? [y/N] "
198+
# if [ "$REPLY" = "Y" -o "$REPLY" = "y"]; then
199+
# mod=$(svn st | cut -c 9- | grep '\.py$')
200+
# flake8 $mod | less
201+
# fi
202+
196203
read -p "Continue with tests? [Y/n] "
197204
[ "$REPLY" = "Y" -o "$REPLY" = "y" -o "$REPLY" = "" ] || exit
198205

0 commit comments

Comments
 (0)