Skip to content

Commit 31ac883

Browse files
committed
fix: add missing autoformat.sh script
1 parent 5223b9a commit 31ac883

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

autoformat.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
#
3+
# This script runs the auto-formatters (isort and pyink)
4+
# to fix code style and import order.
5+
6+
set -e
7+
8+
echo "Running isort to sort imports..."
9+
isort .
10+
11+
echo "Running pyink to reformat code..."
12+
pyink .
13+
14+
echo "Formatting complete."

0 commit comments

Comments
 (0)