Skip to content

Commit bb23110

Browse files
committed
Another try
1 parent 6517a00 commit bb23110

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
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 black"
3535
echo "Run 'pip install -e .' if you do not have Black installed locally."
36-
git ls-files | grep "\.py$" | xargs black --check
36+
git ls-files | grep "\.py$" | xargs black --diff

0 commit comments

Comments
 (0)