blob: f8c756c36259c97fbe6a3e251b1ff3728a4cb7a0 [file] [log] [blame]
martin f. krafftbea29d12013-07-05 08:35:19 +02001#
2# This file is part of reclass (http://github.com/madduck/reclass)
3#
4# Copyright © 2007–13 martin f. krafft <madduck@madduck.net>
5# Released under the terms of the Artistic Licence 2.0
6#
7PYFILES = $(shell find -name .git -o -name dist -o -name build -prune -o -name '*.py' -print)
8
9lint:
10 @echo pylint --rcfile=.pylintrc $(ARGS)
11 @pylint --rcfile=.pylintrc $(ARGS) $(PYFILES)
12.PHONY: lint
13
14lint-errors: ARGS=--errors-only
15lint-errors: lint
16.PHONY: lint-errors
17
18lint-report: ARGS=--report=y
19lint-report: lint
20.PHONY: lint-report