File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -136,16 +136,16 @@ for file in **/requirements.txt; do
136
136
137
137
# If no local noxfile exists, copy the one from root
138
138
if [[ ! -f " noxfile.py" ]]; then
139
- PARENT_DIR=$( cd ../ && pwd)
140
- while [[ " $PARENT_DIR " != " $ROOT " && ! -f " $PARENT_DIR /noxfile-template.py" ]];
141
- do
139
+ PARENT_DIR=$( cd ../ && pwd)
140
+ while [[ " $PARENT_DIR " != " $ROOT " && ! -f " $PARENT_DIR /noxfile-template.py" ]];
141
+ do
142
142
PARENT_DIR=$( dirname " $PARENT_DIR " )
143
- done
144
- cp " $PARENT_DIR /noxfile-template.py" " ./noxfile.py"
145
- echo -e " \n Using noxfile-template from parent folder ($PARENT_DIR ). \n"
146
- cleanup_noxfile=1
143
+ done
144
+ cp " $PARENT_DIR /noxfile-template.py" " ./noxfile.py"
145
+ echo -e " \n Using noxfile-template from parent folder ($PARENT_DIR ). \n"
146
+ cleanup_noxfile=1
147
147
else
148
- cleanup_noxfile=0
148
+ cleanup_noxfile=0
149
149
fi
150
150
151
151
# Use nox to execute the tests for the project.
@@ -170,7 +170,7 @@ for file in **/requirements.txt; do
170
170
171
171
# Remove noxfile.py if we copied.
172
172
if [[ $cleanup_noxfile -eq 1 ]]; then
173
- rm noxfile.py
173
+ rm noxfile.py
174
174
fi
175
175
176
176
done
You can’t perform that action at this time.
0 commit comments