Skip to content

Commit

Permalink
Make pre-commit usage clearer in error message (#2241)
Browse files Browse the repository at this point in the history
* Make lint error clearer

* Update lint.yml

* Update lint.yml

---------

Co-authored-by: Ankith Gunapal <agunapal@ischool.Berkeley.edu>
  • Loading branch information
msaroufim and agunapal authored Apr 20, 2023
1 parent 067fd91 commit fa95a66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
echo "cd serve/"
echo "pre-commit install"
echo "pre-commit will lint your code for you, so git add and commit those new changes and this check should become green"
echo "If you've already pushed some files remotely then run git diff --name-only main | xargs pre-commit run --files"
spellcheck:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit fa95a66

Please sign in to comment.