/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:26:22 UTC
  • mfrom: (7167.1.4 run-flake8)
  • Revision ID: breezy.the.bot@gmail.com-20181116182622-qw3gan3hz78a2imw
Add a flake8 test.

Merged from https://code.launchpad.net/~jelmer/brz/run-flake8/+merge/358902

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
sw = $(sort $(wildcard $(1)))
36
36
 
37
37
 
38
 
.PHONY: all clean realclean extensions pyflakes api-docs check-nodocs check
 
38
.PHONY: all clean realclean extensions flake8 api-docs check-nodocs check
39
39
 
40
40
all: extensions
41
41
 
89
89
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --subunit2 \
90
90
          | subunit-filter -s --passthrough --rename "^" "python3."
91
91
 
92
 
# Run Python style checker (apt-get install pyflakes)
 
92
# Run Python style checker (apt-get install flake8)
93
93
#
94
94
# Note that at present this gives many false warnings, because it doesn't
95
95
# know about identifiers loaded through lazy_import.
96
 
pyflakes:
97
 
        pyflakes breezy
98
 
 
99
 
pyflakes-nounused:
100
 
        # There are many of these warnings at the moment and they're not a
101
 
        # high priority to fix
102
 
        pyflakes breezy | grep -v ' imported but unused'
 
96
flake8:
 
97
        flake8
103
98
 
104
99
clean:
105
100
        $(PYTHON) setup.py clean