Skip to content

Commit 7a8b054

Browse files
zamiramirtiangolo
authored andcommitted
🎨 Reenable Black --check for Python 3.7 (fastapi#229)
Reenabled Black --check for python 3.7, issue is fixed. see psf/black#494
1 parent 7b29936 commit 7a8b054

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/test.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,5 @@ fi
1414
export PYTHONPATH=./docs/src
1515
pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing ${@}
1616
mypy fastapi --disallow-untyped-defs --follow-imports=skip
17-
if [ "${PYTHON_VERSION}" = '3.7' ]; then
18-
echo "Skipping 'black' on 3.7. See issue https://github.com/ambv/black/issues/494"
19-
else
20-
black fastapi tests --check
21-
fi
17+
black fastapi tests --check
2218
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --check-only --thirdparty fastapi fastapi tests

0 commit comments

Comments
 (0)