Skip to content

Instantly share code, notes, and snippets.

@tbielawa
Created January 10, 2017 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbielawa/f058d1f6f1060ad139623fdfa80e1516 to your computer and use it in GitHub Desktop.
Save tbielawa/f058d1f6f1060ad139623fdfa80e1516 to your computer and use it in GitHub Desktop.
. oo-installenv/bin/activate && tox
py27-flake8 develop-inst-noop: /home/tbielawa/rhat/os/openshift-ansible/utils
py27-flake8 runtests: commands[0] | flake8 --config=setup.cfg ../ --exclude=../utils,.tox,../inventory,../roles/lib_utils/src/class,../roles/lib_utils/src/test/
../roles/lib_utils/library/yedit.py:155:1: E402 module level import not at top of file
../roles/lib_utils/library/yedit.py:156:1: E402 module level import not at top of file
../roles/lib_utils/library/yedit.py:157:1: E402 module level import not at top of file
../roles/lib_utils/library/yedit.py:158:1: E402 module level import not at top of file
../roles/lib_utils/library/yedit.py:162:1: E265 block comment should start with '# '
../roles/lib_utils/library/yedit.py:165:1: E265 block comment should start with '# '
../roles/lib_utils/library/yedit.py:169:1: E303 too many blank lines (3)
../roles/lib_utils/library/yedit.py:173:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/library/yedit.py:188:29: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/library/yedit.py:276:51: W601 .has_key() is deprecated, use 'in'
../roles/lib_utils/library/yedit.py:334:13: F405 shutil may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/library/yedit.py:353:26: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/library/yedit.py:402:28: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:411:28: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:414:18: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/library/yedit.py:415:19: E271 multiple spaces after keyword
../roles/lib_utils/library/yedit.py:419:21: W601 .has_key() is deprecated, use 'in'
../roles/lib_utils/library/yedit.py:438:5: E303 too many blank lines (2)
../roles/lib_utils/library/yedit.py:442:28: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:445:18: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/library/yedit.py:446:19: E271 multiple spaces after keyword
../roles/lib_utils/library/yedit.py:458:28: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:469:29: E272 multiple spaces before keyword
../roles/lib_utils/library/yedit.py:470:23: E271 multiple spaces after keyword
../roles/lib_utils/library/yedit.py:485:28: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:503:28: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:509:100: E502 the backslash is redundant between brackets
../roles/lib_utils/library/yedit.py:524:24: E711 comparison to None should be 'if cond is not None:'
../roles/lib_utils/library/yedit.py:527:20: E711 comparison to None should be 'if cond is not None:'
../roles/lib_utils/library/yedit.py:539:13: E265 block comment should start with '# '
../roles/lib_utils/library/yedit.py:540:20: E711 comparison to None should be 'if cond is not None:'
../roles/lib_utils/library/yedit.py:548:28: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:588:25: E124 closing bracket does not match visual indentation
../roles/lib_utils/library/yedit.py:593:35: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/library/yedit.py:594:94: E502 the backslash is redundant between brackets
../roles/lib_utils/library/yedit.py:628:77: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/library/yedit.py:658:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/library/yedit.py:660:16: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/library/yedit.py:671:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/library/yedit.py:688:29: F841 local variable '_' is assigned to but never used
../roles/lib_utils/library/yedit.py:689:102: E502 the backslash is redundant between brackets
../roles/lib_utils/library/yedit.py:695:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/library/yedit.py:698:14: F405 AnsibleModule may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/library/yedit.py:722:12: W601 .has_key() is deprecated, use 'in'
../roles/lib_utils/library/yedit.py:729:1: E305 expected 2 blank lines after class or function definition, found 1
../roles/lib_utils/library/yedit.py:730:5: F403 'from ansible.module_utils.basic import *' used; unable to detect undefined names
../roles/lib_utils/src/generate.py:10:36: E221 multiple spaces before operator
../roles/lib_utils/src/generate.py:11:50: E221 multiple spaces before operator
../roles/lib_utils/src/generate.py:12:60: E221 multiple spaces before operator
../roles/lib_utils/src/generate.py:13:62: E221 multiple spaces before operator
../roles/lib_utils/src/generate.py:14:62: E221 multiple spaces before operator
../roles/lib_utils/src/generate.py:15:68: E221 multiple spaces before operator
../roles/lib_utils/src/generate.py:17:67: E221 multiple spaces before operator
../roles/lib_utils/src/generate.py:22:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/src/generate.py:42:1: W391 blank line at end of file
../roles/lib_utils/src/ansible/yedit.py:1:1: E265 block comment should start with '# '
../roles/lib_utils/src/ansible/yedit.py:3:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/src/ansible/yedit.py:5:16: E711 comparison to None should be 'if cond is None:'
../roles/lib_utils/src/ansible/yedit.py:10:22: F405 yaml may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/src/ansible/yedit.py:12:22: F405 json may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/src/ansible/yedit.py:16:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/src/ansible/yedit.py:25:19: F405 YeditException may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/src/ansible/yedit.py:32:25: F405 yaml may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/src/ansible/yedit.py:33:29: F841 local variable '_' is assigned to but never used
../roles/lib_utils/src/ansible/yedit.py:34:19: F405 YeditException may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/src/ansible/yedit.py:34:102: E502 the backslash is redundant between brackets
../roles/lib_utils/src/ansible/yedit.py:40:1: E302 expected 2 blank lines, found 1
../roles/lib_utils/src/ansible/yedit.py:43:14: F405 AnsibleModule may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/src/ansible/yedit.py:66:12: F405 Yedit may be undefined, or defined from star imports: ansible.module_utils.basic
../roles/lib_utils/src/ansible/yedit.py:67:12: W601 .has_key() is deprecated, use 'in'
../roles/lib_utils/src/ansible/yedit.py:74:1: E305 expected 2 blank lines after class or function definition, found 1
../roles/lib_utils/src/ansible/yedit.py:75:5: F403 'from ansible.module_utils.basic import *' used; unable to detect undefined names
ERROR: InvocationError: '/home/tbielawa/rhat/os/openshift-ansible/utils/.tox/py27-flake8/bin/flake8 --config=setup.cfg ../ --exclude=../utils,.tox,../inventory,../roles/lib_utils/src/class,../roles/lib_utils/src/test/'
...
___________________________________ summary ____________________________________
ERROR: py27-flake8: commands failed
py27-unit: commands succeeded
Makefile:116: recipe for target 'ci-tox' failed
make: *** [ci-tox] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment