~sseman/juju-ci-tools/model-change-watcher-py3

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Seman Said
  • Date: 2016-12-08 23:39:07 UTC
  • mfrom: (1771.1.5 mega-watcher-py3)
  • Revision ID: seman.said@canonical.com-20161208233907-1e1wskxzugdhmvpw
Merged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
p=test*.py
 
2
py3="assess_model_change_watcher.py"
2
3
test:
3
4
        TMPDIR=/tmp python -m unittest discover -vv ./tests -p "$(p)"
4
5
lint:
5
 
        flake8 $$(find -name '*.py') --builtins xrange,basestring
 
6
        python3 -m flake8 --builtins xrange,basestring $(py3)
 
7
        flake8 $$(find -name '*.py') --builtins xrange,basestring --exclude $(py3)
6
8
cover:
7
9
        python -m coverage run --source="./" --omit "./tests/*" -m unittest discover -vv ./tests
8
10
        python -m coverage report