File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -33,4 +33,3 @@ for file in "${required_files[@]}"; do
3333done
3434
3535echo " The structure of $baseline_dir is correct."
36-
Original file line number Diff line number Diff line change @@ -13,31 +13,31 @@ echo "=== test.sh ==="
1313echo " - Start Python checks"
1414
1515echo " - isort: start"
16- python -m isort --check-only .
16+ poetry run python -m isort --check-only .
1717echo " - isort: done"
1818
1919echo " - black: start"
20- python -m black --check .
20+ poetry run python -m black --check .
2121echo " - black: done"
2222
2323echo " - docformatter: start"
24- python -m docformatter -c -r .
24+ poetry run python -m docformatter -c -r .
2525echo " - docformatter: done"
2626
2727echo " - ruff: start"
28- python -m ruff check .
28+ poetry run python -m ruff check .
2929echo " - ruff: done"
3030
3131echo " - mypy: start"
32- python -m mypy .
32+ poetry run python -m mypy .
3333echo " - mypy: done"
3434
3535echo " - pylint: start"
36- python -m pylint ./$1
36+ poetry run python -m pylint ./$1
3737echo " - pylint: done"
3838
3939echo " - pytest: start"
40- python -m pytest . || ([ $? -eq 5 ] || [ $? -eq 0 ])
40+ poetry run python -m pytest . || ([ $? -eq 5 ] || [ $? -eq 0 ])
4141echo " - pytest: done"
4242
4343echo " - All Python checks passed"
You can’t perform that action at this time.
0 commit comments