Skip to content

Commit e583d5c

Browse files
committed
Nothing
1 parent c6be216 commit e583d5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
# runs Black on all python files committed in git
3232
echo "Running black: https://github.com/psf/black"
3333
echo "Black should pass before commit! If this fails, run the command on the next line to fix the errors, then commit the changes"
34-
echo "git ls-files | grep \"\.py\$\" | xargs black"
34+
echo "git ls-files | grep \"\.py\$\" | xargs python3 -m black"
3535
echo "Run 'pip install -e .' if you do not have Black installed locally."
3636
git ls-files | grep "\.py$" | xargs python3 -m black --check

black.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
#!/bin/bash
33

4-
git ls-files | grep "\.py$" | xargs black
4+
git ls-files | grep "\.py$" | xargs python -m black

0 commit comments

Comments
 (0)