Skip to content

Commit 61c9c55

Browse files
committed
Run baselines tests using poetry
1 parent d2093bb commit 61c9c55

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

baselines/dev/test-baseline-structure.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ for file in "${required_files[@]}"; do
3333
done
3434

3535
echo "The structure of $baseline_dir is correct."
36-

baselines/dev/test-baseline.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,31 @@ echo "=== test.sh ==="
1313
echo "- Start Python checks"
1414

1515
echo "- isort: start"
16-
python -m isort --check-only .
16+
poetry run python -m isort --check-only .
1717
echo "- isort: done"
1818

1919
echo "- black: start"
20-
python -m black --check .
20+
poetry run python -m black --check .
2121
echo "- black: done"
2222

2323
echo "- docformatter: start"
24-
python -m docformatter -c -r .
24+
poetry run python -m docformatter -c -r .
2525
echo "- docformatter: done"
2626

2727
echo "- ruff: start"
28-
python -m ruff check .
28+
poetry run python -m ruff check .
2929
echo "- ruff: done"
3030

3131
echo "- mypy: start"
32-
python -m mypy .
32+
poetry run python -m mypy .
3333
echo "- mypy: done"
3434

3535
echo "- pylint: start"
36-
python -m pylint ./$1
36+
poetry run python -m pylint ./$1
3737
echo "- pylint: done"
3838

3939
echo "- pytest: start"
40-
python -m pytest . || ([ $? -eq 5 ] || [ $? -eq 0 ])
40+
poetry run python -m pytest . || ([ $? -eq 5 ] || [ $? -eq 0 ])
4141
echo "- pytest: done"
4242

4343
echo "- All Python checks passed"

0 commit comments

Comments
 (0)