File tree 6 files changed +19
-17
lines changed
6 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ROOT=" $( dirname $( dirname $0 ) ) "
3
+ ROOT=" $( dirname " $( dirname " $0 " ) " ) "
4
4
5
- cd " $ROOT "
5
+ cd " $ROOT " || exit
6
6
7
7
pytest \
8
8
--pylama \
9
- --ignore=" tests" \
10
- $@
9
+ --ignore=" tests" \
10
+ " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ROOT=" $( dirname $( dirname $0 ) ) "
3
+ ROOT=" $( dirname " $( dirname " $0 " ) " ) "
4
+ cd " $ROOT " || exit
4
5
5
- isort * .py
6
- isort ** /* .py
7
- black * .py --line-length=120
8
- black ** /* .py --line-length=120
6
+ isort ./ * .py
7
+ isort ./ ** /* .py
8
+ black ./ * .py --line-length=120
9
+ black ./ ** /* .py --line-length=120
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ROOT=" $( dirname $( dirname $0 ) ) "
3
+ ROOT=" $( dirname " $( dirname " $0 " ) " ) "
4
4
5
5
pip3 install -r " $ROOT /requirements.txt"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ROOT=" $( dirname $( dirname $0 ) ) "
3
+ ROOT=" $( dirname " $( dirname " $0 " ) " ) "
4
4
5
5
pip3 install -r " $ROOT /requirements-dev.txt"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ROOT=" $( dirname $( dirname $0 ) ) "
3
+ ROOT=" $( dirname " $( dirname " $0 " ) " ) "
4
4
5
- cd " $ROOT "
5
+ cd " $ROOT " || exit
6
6
7
7
git submodule update --init
8
8
9
- LEARN_OUTPUT=" YES" pytest tests/test_e2e.py -v -s
9
+ LEARN_OUTPUT=" YES" pytest tests/test_e2e.py -v -s
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ROOT=" $( dirname $( dirname $0 ) ) "
3
+ ROOT=" $( dirname " $( dirname " $0 " ) " ) "
4
4
5
- cd " $ROOT "
5
+ cd " $ROOT " || exit
6
6
7
7
git submodule update --init
8
8
@@ -11,4 +11,5 @@ pytest -n auto \
11
11
--cov-branch \
12
12
--cov-report xml \
13
13
--cov-report html \
14
- " tests/" $@
14
+ " tests/" \
15
+ " $@ "
You can’t perform that action at this time.
0 commit comments