parent
b31c987cc8
commit
111eaa27e8
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env python2
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from __future__ import absolute_import
|
||||
import json
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from powerline.ipython import IpythonPowerline
|
||||
|
||||
from IPython.core.prompts import PromptManager
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from powerline.ipython import IpythonPowerline
|
||||
from IPython.Prompts import BasePrompt
|
||||
from IPython.ipapi import get as get_ipython
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from libqtile import bar
|
||||
from libqtile.widget import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
try:
|
||||
import vim
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
import zsh
|
||||
from powerline.shell import ShellPowerline
|
||||
from powerline.lib import parsedotval
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from copy import copy
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline import Powerline
|
||||
from powerline.lib import mergedicts
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from functools import wraps
|
||||
import json
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from math import log
|
||||
unit_list = tuple(zip(['', 'k', 'M', 'G', 'T', 'P'], [0, 0, 1, 2, 2, 2]))
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from functools import wraps
|
||||
import time
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
|
||||
def urllib_read(url):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from __future__ import absolute_import
|
||||
import os
|
||||
from powerline.lib.memoize import memoize
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from __future__ import absolute_import, unicode_literals, division, print_function
|
||||
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
try:
|
||||
import pygit2 as git
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from __future__ import absolute_import
|
||||
from mercurial import hg, ui, match
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.theme import Theme
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.renderers.shell import ShellRenderer
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.renderers.shell import ShellRenderer
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.renderer import Renderer
|
||||
from powerline.colorscheme import ATTR_BOLD, ATTR_ITALIC, ATTR_UNDERLINE
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.renderer import Renderer
|
||||
from powerline.colorscheme import ATTR_BOLD, ATTR_ITALIC, ATTR_UNDERLINE
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.renderer import Renderer
|
||||
from powerline.colorscheme import ATTR_BOLD, ATTR_ITALIC, ATTR_UNDERLINE
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.renderers.shell import ShellRenderer
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.theme import requires_segment_info
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline import Powerline
|
||||
from powerline.lib import mergedicts, parsedotval
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from copy import copy
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
|
3
setup.py
3
setup.py
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
import sys
|
||||
if sys.version_info < (2, 7):
|
||||
from unittest2 import TestCase, main # NOQA
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
import imp
|
||||
import sys
|
||||
import os
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from tests import vim
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
'''Dynamic configuration files tests.'''
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
from powerline.lib import mergedicts, underscore_to_camelcase, add_divider_highlight_group, humanize_bytes
|
||||
from powerline.lib.vcs import guess
|
||||
from subprocess import call, PIPE
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
|
||||
from powerline.segments import shell, common
|
||||
import tests.vim as vim_module
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:fenc=utf-8:noet
|
||||
# vim:fileencoding=utf-8:noet
|
||||
_log = []
|
||||
_g = {}
|
||||
_window = 0
|
||||
|
|
Loading…
Reference in New Issue