Skip to content

Commit

Permalink
minor improvement of makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksMat committed Jan 23, 2019
1 parent b5d6203 commit e3e93cf
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

PYTHON = python3
PACKAGES = core coregistration features geometry io mask ml_tools
PYLINT = pylint

.PHONY: $(PACKAGES:test)

Expand All @@ -10,13 +11,13 @@ help:
@echo "Use 'make pylint' to run pylint on the code of all subpackages"

pylint:
pylint core/eolearn/core/*.py
pylint coregistration/eolearn/coregistration/*.py
pylint features/eolearn/features/*.py
pylint geometry/eolearn/geometry/*.py
pylint io/eolearn/io/*.py
pylint mask/eolearn/mask/*.py
pylint ml_tools/eolearn/ml_tools/*.py
$(PYLINT) core/eolearn/core/*.py
$(PYLINT) coregistration/eolearn/coregistration/*.py
$(PYLINT) features/eolearn/features/*.py
$(PYLINT) geometry/eolearn/geometry/*.py
$(PYLINT) io/eolearn/io/*.py
$(PYLINT) mask/eolearn/mask/*.py
$(PYLINT) ml_tools/eolearn/ml_tools/*.py

.ONESHELL:
build-core:
Expand Down

0 comments on commit e3e93cf

Please sign in to comment.