Enable Flake8 F*** checks.

Fix and enable F*** Checks by removing unused imports.

Change-Id: I39863a4664abff1349911546f16bfea055104e63
This commit is contained in:
Joe Gordon 2013-06-19 22:42:13 -07:00
parent e39e3385b5
commit fcd1a2e7fd
4 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,6 @@
# under the License. # under the License.
import argparse import argparse
from errno import ENOENT
import os import os
import sys import sys

View File

@ -16,7 +16,7 @@
import os import os
from testtools import TestCase from testtools import TestCase
from fixtures import Fixture, EnvironmentVariable, TempDir from fixtures import EnvironmentVariable, TempDir
from diskimage_builder.elements import expand_dependencies from diskimage_builder.elements import expand_dependencies
from diskimage_builder.elements import get_elements_dir from diskimage_builder.elements import get_elements_dir

View File

@ -15,7 +15,6 @@
import os import os
import sys import sys
import unittest
class StubPackage: class StubPackage:

View File

@ -40,7 +40,7 @@ commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
downloadcache = ~/cache/pip downloadcache = ~/cache/pip
[flake8] [flake8]
ignore = E125,F,H ignore = E125,H
builtins = _ builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build