~allenap/maas/qa-lab-tests.kill-all-the-configs-cluster

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: MAAS Lander
  • Author(s): Gavin Panella
  • Date: 2015-06-22 10:24:17 UTC
  • mfrom: (270.1.3 qa-lab-tests.tidy)
  • Revision ID: maas_lander-20150622102417-8c1cslqd2zj0pb17
[r=allenap][bug=][author=allenap] Switch from pocketlint to flake8, and fix resulting warnings.

flake8 is more strict than pocketlint, but is what we use in the main MAAS project.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
lint:
3
 
        pocketlint *.py
 
1
lint: lint-py
4
2
        pocketlint maas-cluster-controller-package-test
 
3
 
 
4
lint-py: sources = $(wildcard *.py)
 
5
lint-py:
 
6
        flake8 --ignore=E123 --config=/dev/null $(sources)
 
7
 
 
8
.PHONY: lint lint-py