blob: f8c756c36259c97fbe6a3e251b1ff3728a4cb7a0 [file] [log] [blame]
#
# This file is part of reclass (http://github.com/madduck/reclass)
#
# Copyright © 2007–13 martin f. krafft <madduck@madduck.net>
# Released under the terms of the Artistic Licence 2.0
#
PYFILES = $(shell find -name .git -o -name dist -o -name build -prune -o -name '*.py' -print)
lint:
@echo pylint --rcfile=.pylintrc $(ARGS)
@pylint --rcfile=.pylintrc $(ARGS) $(PYFILES)
.PHONY: lint
lint-errors: ARGS=--errors-only
lint-errors: lint
.PHONY: lint-errors
lint-report: ARGS=--report=y
lint-report: lint
.PHONY: lint-report