Skip to content

Commit

Permalink
remove references to flake8-2 and flake8-3
Browse files Browse the repository at this point in the history
Summary:
The internal `flake8-2` and `flake8-3` binaries are now deprecated
copies of the main `flake8` binary. This removes remaining references
to the deprecated binaries in preparation for them being removed
in future deployments of flake8.

maintaining_tech_debt

Reviewed By: lisroach, vaibhava0

Differential Revision: D37766758

fbshipit-source-id: ee89cecb0e295b8037843e7e28344b156a847554
  • Loading branch information
amyreese authored and facebook-github-bot committed Jul 12, 2022
1 parent 5e38c1f commit 453d795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ echo "Running black ..."
black -l 100 .

echo "Running flake8 ..."
if [ -x "$(command -v flake8-3)" ]; then
flake8-3 .
if [ -x "$(command -v flake8)" ]; then
flake8 .
else
python3 -m flake8 .
fi
Expand Down

0 comments on commit 453d795

Please sign in to comment.