From 0105fd120659baf3445b994af29837755d155c73 Mon Sep 17 00:00:00 2001 From: Bo Wang Date: Mon, 1 Feb 2016 20:17:47 +0800 Subject: [PATCH] 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 --- tools/install_venv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/install_venv.py b/tools/install_venv.py index cc2184378..d51c8d90d 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -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 """ - print help % dict(project=project, venv=venv, root=root) + print(help % dict(project=project, venv=venv, root=root)) def main(argv):