From 8ca303032f72460ba9c55cb4afa13188f275c775 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Tue, 16 Feb 2016 14:23:29 -0600 Subject: [PATCH] Clean up and re-order imports --- ansible_testing/modules.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/ansible_testing/modules.py b/ansible_testing/modules.py index 925a4d6a8b..db77674dfd 100644 --- a/ansible_testing/modules.py +++ b/ansible_testing/modules.py @@ -2,30 +2,30 @@ from __future__ import print_function +import abc +import argparse +import ast import os import re -import abc -import ast import sys -import yaml -import argparse import traceback -from fnmatch import fnmatch -from distutils.version import StrictVersion - -from utils import find_globals - -from ansible.plugins import module_loader -from ansible.executor.module_common import REPLACER_WINDOWS -from ansible.utils.module_docs import get_docstring, BLACKLIST_MODULES - -from ansible import __version__ as ansible_version -from ansible.module_utils import basic as module_utils_basic - # We only use StringIO, since we cannot setattr on cStringIO from StringIO import StringIO +from distutils.version import StrictVersion +from fnmatch import fnmatch + +from ansible import __version__ as ansible_version +from ansible.executor.module_common import REPLACER_WINDOWS +from ansible.module_utils import basic as module_utils_basic +from ansible.plugins import module_loader +from ansible.utils.module_docs import BLACKLIST_MODULES, get_docstring + +from utils import find_globals + +import yaml + BLACKLIST_DIRS = frozenset(('.git',)) INDENT_REGEX = re.compile(r'([\t]*)')