Switch to flake8>3.8.1
Change-Id: I9c08ab3ec1ee00ca7a878dc0c9072bf67027c4fd
This commit is contained in:
parent
633e91fad6
commit
12ec87e99d
|
@ -1,7 +1,7 @@
|
|||
# pep8 and flake8 requirements
|
||||
|
||||
ansible-lint==4.2.0 # MIT
|
||||
flake8==3.3.0 # MIT
|
||||
flake8>=3.8.1 # MIT
|
||||
flake8-import-order==0.12 # LGPLv3
|
||||
mypy>=0.740 # MIT
|
||||
pylint>=1.9,<2.5.0 # GPLv2
|
||||
|
|
|
@ -66,7 +66,7 @@ class LocalExecutePathFixture(_path.ExecutePathFixture):
|
|||
|
||||
executable_dirs = [os.path.realpath(os.path.join(d, 'bin'))
|
||||
for d in [sys.prefix, sys.exec_prefix]]
|
||||
environ = os.environ
|
||||
environ = dict(os.environ)
|
||||
|
||||
|
||||
class LocalShellProcessFixture(_process.ShellProcessFixture):
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
# under the License.
|
||||
from __future__ import absolute_import
|
||||
|
||||
import typing # noqa
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
import tobiko
|
||||
|
|
|
@ -198,7 +198,7 @@ def _items_from_object(obj, schema):
|
|||
|
||||
|
||||
def exclude_mapping_items(mapping, exclude):
|
||||
# Exclude parameters that are already in target dictionary
|
||||
"""Exclude parameters that are already in target dictionary"""
|
||||
return {key: value
|
||||
for key, value in mapping.items()
|
||||
if key not in exclude}
|
||||
|
|
Loading…
Reference in New Issue