We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6be216 commit e583d5cCopy full SHA for e583d5c
2 files changed
.github/workflows/lint.yml
@@ -31,6 +31,6 @@ jobs:
31
# runs Black on all python files committed in git
32
echo "Running black: https://github.com/psf/black"
33
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"
+ echo "git ls-files | grep \"\.py\$\" | xargs python3 -m black"
35
echo "Run 'pip install -e .' if you do not have Black installed locally."
36
git ls-files | grep "\.py$" | xargs python3 -m black --check
black.sh
@@ -1,4 +1,4 @@
1
2
#!/bin/bash
3
4
-git ls-files | grep "\.py$" | xargs black
+git ls-files | grep "\.py$" | xargs python -m black
0 commit comments