Skip to content

Commit

Permalink
simplified format.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Aug 24, 2024
1 parent 9ef1ee6 commit 76b8228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/format.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -euxo pipefail

find . \( ! -regex '.*/\..*' \) -name '*.py' -exec black {} +
find . \( ! -regex '.*/\..*' \) -name '*.py' -exec isort --profile black {} +
black .
isort .

0 comments on commit 76b8228

Please sign in to comment.