Skip to content

Commit b8ea730

Browse files
committed
Require black 24.8.0 in tests
1 parent 038d373 commit b8ea730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ services:
4343
echo "------ UNIT TESTS ------"
4444
pytest -sv --cov-report term-missing --cov=pharus /main/tests/
4545
echo "------ STYLE TESTS ------"
46-
black $${PKG_DIR} --check -v --extend-exclude "^.*dynamic_api.py$$"
46+
black $${PKG_DIR} --required-version '24.8.0' --check -v --extend-exclude "^.*dynamic_api.py$$"
4747
flake8 $${PKG_DIR} --count --max-complexity=20 --max-line-length=94 --statistics --exclude=*dynamic_api.py --ignore=W503,W605
48-
black /main/tests --check -v
48+
black /main/tests --required-version '24.8.0' --check -v
4949
flake8 /main/tests --count --max-complexity=20 --max-line-length=94 --statistics --ignore=F401,F811,W503
5050
else
5151
echo "=== Running ==="

0 commit comments

Comments
 (0)