Use # noqa to ignore one line but not whole file
"# flake8: noqa" option disables all checks for the whole file. To disable one line we should use "# noqa". Closes Bug: #1540254 Change-Id: I34c8a2218f974cd7e78c60e9c1fec26751c4e82d
This commit is contained in:
parent
6d023a6bc2
commit
0105fd1206
|
@ -22,7 +22,7 @@ import ConfigParser
|
|||
import os
|
||||
import sys
|
||||
|
||||
import install_venv_common as install_venv # flake8: noqa
|
||||
import install_venv_common as install_venv
|
||||
|
||||
|
||||
def print_help(project, venv, root):
|
||||
|
@ -42,7 +42,7 @@ def print_help(project, venv, root):
|
|||
|
||||
$ %(root)s/tools/with_venv.sh <your command>
|
||||
"""
|
||||
print help % dict(project=project, venv=venv, root=root)
|
||||
print(help % dict(project=project, venv=venv, root=root))
|
||||
|
||||
|
||||
def main(argv):
|
||||
|
|
Loading…
Reference in New Issue