Merge "Enable Flake8 F*** checks."
This commit is contained in:
commit
a37f7ca2a4
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import unittest
|
|
||||||
|
|
||||||
|
|
||||||
class StubPackage:
|
class StubPackage:
|
||||||
|
2
tox.ini
2
tox.ini
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user