Skip to content

Commit

Permalink
Updated Makefile to have make verify be single command for all Pyth…
Browse files Browse the repository at this point in the history
…on checks

This is a slight reorg I just think makes more sense - anyone touching Python
code can run `make verify` as a simple sanity check for their code. Spellcheck
is more Markdown-specific and already has its own Makefile command so replaced
'spellcheck' with the new 'mypy` tox env

Signed-off-by: Nathan Weinberg <[email protected]>
  • Loading branch information
nathan-weinberg committed Jun 5, 2024
1 parent 5bfc0bb commit e9a2898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ spellcheck-sort: .spellcheck-en-custom.txt ## Sort spellcheck directory
sort -d -f -o $< $<

.PHONY: verify
verify: check-tox ## Run linting and formatting checks via tox
tox p -e ruff,fastlint,spellcheck
verify: check-tox ## Run linting, typing, and formatting checks via tox
tox p -e fastlint,mypy,ruff

0 comments on commit e9a2898

Please sign in to comment.