powerline/tests
ZyX 06211cbe63 Unify imports
Now imports follow the following structure:

1. __future__ line: exactly one line allowed:

        from __future__ import (unicode_literals, division, absolute_import, print_function)

   (powerline.shell is the only exception due to problems with argparse).
2. Standard python library imports in a form `import X`.
3. Standard python library imports in a form `from X import Y`.
4. and 5. 2. and 3. for third-party (non-python and non-powerline imports).
6. 3. for powerline non-test imports.
7. and 8. 2. and 3. for powerline testing module imports.

Each list entry is separated by exactly one newline from another import. If
there is module docstring it goes between `# vim:` comment and `__future__`
import. So the structure containing all items is the following:

    #!/usr/bin/env python
    # vim:fileencoding=utf-8:noet

    '''Powerline super module'''

    import sys

    from argparse import ArgumentParser

    import psutil

    from colormath.color_diff import delta_e_cie2000

    from powerline.lib.unicode import u

    import tests.vim as vim_module

    from tests import TestCase

.
2014-09-01 00:25:24 +04:00
..
lib Unify imports 2014-09-01 00:25:24 +04:00
path Unify imports 2014-09-01 00:25:24 +04:00
test_shells Unify imports 2014-09-01 00:25:24 +04:00
__init__.py Unify imports 2014-09-01 00:25:24 +04:00
empty Start adding tests 2013-03-03 21:03:19 +01:00
install.sh Add internal_ip segment 2014-08-24 01:20:25 +04:00
matchers.py Unify imports 2014-09-01 00:25:24 +04:00
run_lint_tests.sh Split shell tests into files 2014-08-29 22:22:39 +04:00
run_python_tests.sh Split shell tests into files 2014-08-29 22:22:39 +04:00
run_shell_tests.sh Split shell tests into files 2014-08-29 22:22:39 +04:00
run_vim_tests.sh Split shell tests into files 2014-08-29 22:22:39 +04:00
test.sh Split shell tests into files 2014-08-29 22:22:39 +04:00
test_cmdline.py Unify imports 2014-09-01 00:25:24 +04:00
test_config_merging.py Unify imports 2014-09-01 00:25:24 +04:00
test_config_reload.py Unify imports 2014-09-01 00:25:24 +04:00
test_configuration.py Unify imports 2014-09-01 00:25:24 +04:00
test_lib.py Unify imports 2014-09-01 00:25:24 +04:00
test_lib_config.py Unify imports 2014-09-01 00:25:24 +04:00
test_local_overrides.vim Use &encoding as powerline encoding in Vim 2014-08-27 23:52:09 +04:00
test_plugin_file.vim Replace `name` and `module` keys with `function` key 2014-08-29 23:13:10 +04:00
test_provided_config_files.py Unify imports 2014-09-01 00:25:24 +04:00
test_segments.py Unify imports 2014-09-01 00:25:24 +04:00
test_tabline.vim Replace `name` and `module` keys with `function` key 2014-08-29 23:13:10 +04:00
test_watcher.py Unify imports 2014-09-01 00:25:24 +04:00
vim.py Use &encoding as powerline encoding in Vim 2014-08-27 23:52:09 +04:00