Skip to content

Commit

Permalink
update black version and use --diff
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnc committed May 14, 2022
1 parent b3eb6c0 commit 45d7856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -qq --upgrade pip
python -m pip install -qq black==21.12b0
python -m pip install -qq black==22.3.0
- name: Format with black
run: |
bash black-check.bash
2 changes: 1 addition & 1 deletion black-check.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

mapfile -t pyfiles < <(git ls-files | grep -E "\\.pyi?$|SCons")

black --check "${pyfiles[@]}"
black --check --diff "${pyfiles[@]}"

0 comments on commit 45d7856

Please sign in to comment.