-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 785 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
###############################################################################
#
# make check : Check syntax of python files using flake8.
# make clean : Return the folder to its original state.
#
###############################################################################
FLAKE8 = flake8
FLAKE8_FILES = ctplanet examples
.PHONY: clean check
help:
@echo "Commands:"
@echo ""
@echo " check Check syntax of python files using flake8"
@echo " clean Return the folder to its original state"
@echo ""
clean:
@-rm -rf examples/InSight
@-rm -rf examples/figs/*.dat
@-rm -rf examples/figs/*.png
@-rm -rf examples/figs/*.sh
check:
@$(FLAKE8) --extend-ignore=E741,W605 --exclude=ctplanet/_version.py $(FLAKE8_FILES)