mirror of https://github.com/tiangolo/fastapi.git
🔧 Add format-imports script
This commit is contained in:
parent
6939621730
commit
a33c299fd7
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# Sort imports one per line, so autoflake can remove unused imports
|
||||||
|
isort --recursive --force-single-line-imports --thirdparty fastapi --apply fastapi tests docs/src
|
||||||
|
sh ./scripts/format.sh
|
||||||
Loading…
Reference in New Issue