summaryrefslogtreecommitdiff
path: root/Makefile
blob: 783ebd767cfed4323adf01426a538e0c86ef17b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CWD=$(shell pwd)
PY_FILES=$(shell find cloudinit bin -name "*.py")

all: test

pylint:
	$(CWD)/tools/run-pylint $(PY_FILES)

pyflakes:
	pyflakes $(PY_FILES)

test:
	nosetests tests/unittests/

2to3:
	2to3 $(PY_FILES)

.PHONY: test pylint pyflakes 2to3