fastapi/scripts/format-imports.sh
2019-06-13 18:38:49 +02:00

6 lines
211 B
Bash
Executable file

#!/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