Skip to content

Instantly share code, notes, and snippets.

@lazypower
Created May 3, 2017 14:02
Show Gist options
  • Save lazypower/b0f32fe4a091a774d83a78e8baaabadb to your computer and use it in GitHub Desktop.
Save lazypower/b0f32fe4a091a774d83a78e8baaabadb to your computer and use it in GitHub Desktop.
ubuntu@charmbox:~/charms/layers/basic$ diff Makefile ../../builds/kubernetes-master/Makefile
18c18
< @PATH=.tox/py34/bin:.tox/py35/bin flake8 $(wildcard hooks reactive lib unit_tests tests)
---
> @tox -e lint
ubuntu@charmbox:~/charms/builds/kubernetes-master$ make lint
lint installed: appdirs==1.4.3,flake8==3.3.0,mccabe==0.6.1,packaging==16.8,pkg-resources==0.0.0,pycodestyle==2.3.1,pyflakes==1.5.0,pyparsing==2.2.0,six==1.10.0
__________________________________________________________________ summary ___________________________________________________________________
lint: skipped tests
congratulations :)
lint installed: appdirs==1.4.3,flake8==3.3.0,mccabe==0.6.1,packaging==16.8,pkg-resources==0.0.0,pycodestyle==2.3.1,pyflakes==1.5.0,pyparsing==2.2.0,six==1.10.0
lint runtests: PYTHONHASHSEED='3284031134'
lint runtests: commands[0] | flake8 lib/ reactive/
reactive/kubernetes_master.py:278:5: F821 undefined name 'api_opts'
reactive/kubernetes_master.py:278:37: F821 undefined name 'basic_auth'
reactive/kubernetes_master.py:279:5: F821 undefined name 'api_opts'
reactive/kubernetes_master.py:279:37: F821 undefined name 'known_tokens'
reactive/kubernetes_master.py:280:5: F821 undefined name 'api_opts'
reactive/kubernetes_master.py:280:46: F821 undefined name 'service_key'
reactive/kubernetes_master.py:281:5: F821 undefined name 'controller_opts'
reactive/kubernetes_master.py:281:61: F821 undefined name 'service_key'
reactive/kubernetes_master.py:452:1: E303 too many blank lines (3)
ERROR: InvocationError: '/home/ubuntu/charms/builds/kubernetes-master/.tox/lint/bin/flake8 lib/ reactive/'
__________________________________________________________________ summary ___________________________________________________________________
ERROR: lint: commands failed
Makefile:17: recipe for target 'lint' failed
make: *** [lint] Error 1
ubuntu@charmbox:~/charms/builds/kubernetes-master$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment