Skip to content

Commit

Permalink
Add format to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
patricktnast authored Jan 10, 2025
1 parent e8cfa16 commit df3a224
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ install: # Install setuptools, install this package in editable mode
# Then, assuming the build passes, you can change it back (which will cause builds to
# start failing again until everything gets merged to main).

format: setup.py pyproject.toml $(MAKE_SOURCES) # Run the code formatter and import sorter
black $(LOCATIONS)
isort $(LOCATIONS)
@echo "Ignore, Created by Makefile, `date`" > $@

e2e-runslow: $(MAKE_SOURCES) # Run all (--runslow) end-to-end tests
export COVERAGE_FILE=./output/.coverage.e2e
pytest tests/e2e -vvv --runslow --cov --cov-report term --cov-report html:./output/htmlcov_e2e
Expand Down

0 comments on commit df3a224

Please # to comment.