Browse Source

🔧 Add format-imports script

pull/314/head
Sebastián Ramírez 6 years ago
parent
commit
a33c299fd7
  1. 6
      scripts/format-imports.sh

6
scripts/format-imports.sh

@ -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…
Cancel
Save