⬆ Upgrade isort to version 5.x.x (#1670)

* Update isort script to match changes in the new release, isort v5.0.2

* Downgrade isort to version v4.3.21

* Add an alternative flag to --recursive in isort v5.0.2

* Add isort config file

* 🚚 Import from docs_src for tests

* 🎨 Format dependencies.utils

* 🎨 Remove isort combine_as_imports, keep black profile

* 🔧 Update isort config, use pyproject.toml, Black profile

* 🔧 Update format scripts to use explicit directories to format

otherwise it would try to format venv env directories, I have several with different Python versions

* 🎨 Format NoSQL tutorial after re-sorting imports

* 🎨 Fix format for __init__.py

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Brian Mboya
2020-07-09 21:06:12 +03:00
committed by GitHub
parent 3ff504f03f
commit fe453f80ed
97 changed files with 111 additions and 109 deletions

View File

@@ -1,6 +1,6 @@
from fastapi.testclient import TestClient
from async_sql_databases.tutorial001 import app
from docs_src.async_sql_databases.tutorial001 import app
openapi_schema = {
"openapi": "3.0.2",