mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-03 13:13:54 -04:00
⬆️ Update Pydantic to 0.21.0 (#90)
* ⬆️ Upgrade Pydantic and others (isort), update docs after changes by isort * 🎨 Format with newest isort, update type hints in jsonable_encoder * 🔧 Update test script, to avoid Pydantic type errors * ⬆️ Update pyproject.toml with latest Pydantic
This commit is contained in:
committed by
GitHub
parent
f2fd948ce3
commit
108c2f3c0e
@@ -13,7 +13,7 @@ fi
|
||||
|
||||
export PYTHONPATH=./docs/src
|
||||
pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing ${@}
|
||||
mypy fastapi --disallow-untyped-defs
|
||||
mypy fastapi --disallow-untyped-defs --follow-imports=skip
|
||||
if [ "${PYTHON_VERSION}" = '3.7' ]; then
|
||||
echo "Skipping 'black' on 3.7. See issue https://github.com/ambv/black/issues/494"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user