diff --git a/lib/ansible/compat/__init__.py b/lib/ansible/compat/__init__.py index e77b77d2a6..2990c6f54c 100644 --- a/lib/ansible/compat/__init__.py +++ b/lib/ansible/compat/__init__.py @@ -24,4 +24,3 @@ Compat library for ansible. This contains compatibility definitions for older p When we need to import a module differently depending on python version, do it here. Then in the code we can simply import from compat in order to get what we want. ''' - diff --git a/lib/ansible/compat/selectors/__init__.py b/lib/ansible/compat/selectors/__init__.py index 149656766f..6458438d6d 100644 --- a/lib/ansible/compat/selectors/__init__.py +++ b/lib/ansible/compat/selectors/__init__.py @@ -24,7 +24,7 @@ Compat selectors library. Python-3.5 has this builtin. The selectors2 package exists on pypi to backport the functionality as far as python-2.6. ''' # The following makes it easier for us to script updates of the bundled code -_BUNDLED_METADATA = { "pypi_name": "selectors2", "version": "1.1.0" } +_BUNDLED_METADATA = {"pypi_name": "selectors2", "version": "1.1.0"} import os.path import sys diff --git a/lib/ansible/compat/tests/__init__.py b/lib/ansible/compat/tests/__init__.py index fc05b2549b..fe8fef59bb 100644 --- a/lib/ansible/compat/tests/__init__.py +++ b/lib/ansible/compat/tests/__init__.py @@ -37,4 +37,3 @@ except ImportError: BUILTINS = 'builtins' else: BUILTINS = '__builtin__' - diff --git a/test/sanity/pep8/legacy-files.txt b/test/sanity/pep8/legacy-files.txt index 76e353f92b..7836a5b5e8 100644 --- a/test/sanity/pep8/legacy-files.txt +++ b/test/sanity/pep8/legacy-files.txt @@ -14,9 +14,6 @@ lib/ansible/cli/galaxy.py lib/ansible/cli/playbook.py lib/ansible/cli/pull.py lib/ansible/cli/vault.py -lib/ansible/compat/__init__.py -lib/ansible/compat/selectors/__init__.py -lib/ansible/compat/tests/__init__.py lib/ansible/constants.py lib/ansible/executor/__init__.py lib/ansible/executor/action_write_locks.py