Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# simple makefile to simplify repetetive build env management tasks under posix

# caution: testing won't work on windows, see README

PYTHON ?= python
PYTESTS ?= pytest
CODESPELL_DIRS ?= mne_bids_pipeline/ docs/
all: clean inplace test test-doc
all: clean

clean-pyc:
find . -name "*.pyc" | xargs rm -f
Expand All @@ -28,14 +23,5 @@ check:
mne_bids --version
mne sys_info

trailing-spaces:
find . -name "*.py" | xargs perl -pi -e 's/[ \t]*$$//'

codespell: # running manually; auto-fix spelling mistakes
@codespell --write-changes $(CODESPELL_DIRS)

codespell-error: # running on travis; override interactivity seting
@codespell -i 0 -q 7 $(CODESPELL_DIRS)

Comment on lines -31 to -39
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now all handled through pre-commit hooks

show:
@python -c "import webbrowser; webbrowser.open_new_tab('file://$(PWD)/docs/site/index.html')"