Skip to content

Commit

Permalink
update external black/usort versions
Browse files Browse the repository at this point in the history
Summary:
Match internal versions

paintitblack

Reviewed By: amyreese

Differential Revision: D54459585

fbshipit-source-id: fcaebc775396402a4acd2205b222910abd58ab21
  • Loading branch information
The Knights Who Say Ni authored and facebook-github-bot committed Mar 3, 2024
1 parent bb843f1 commit 8bc535a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8==3.8.1 flake8-bugbear flake8-comprehensions isort==4.3.21
pip install black==22.3.0
pip install black==24.2.0
flake8 --version
- name: Lint
run: |
Expand Down
4 changes: 2 additions & 2 deletions linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# Run this script at project root by "./linter.sh" before you commit.

{
black --version | grep -E "22.3.0" > /dev/null
black --version | grep -E "24.2.0" > /dev/null
} || {
echo "Linter requires 'black==22.3.0' !"
echo "Linter requires 'black==24.2.0' !"
exit 1
}

Expand Down

0 comments on commit 8bc535a

Please sign in to comment.