Skip to content

Commit f42469d

Browse files
committed
Remove utf-8 codings, __future__
1 parent db3e48d commit f42469d

17 files changed

+0
-42
lines changed

docs/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
import inspect
32
import os
43
import sys

libtmux/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# flake8: NOQA
32
from .__about__ import (
43
__author__,

libtmux/common.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# flake8: NOQA W605
32
"""Helper methods and mixins.
43

libtmux/exc.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# -*- coding: utf-8 -*-
21
"""libtmux exceptions.
32
43
libtmux.exc
54
~~~~~~~~~~~
65
76
"""
8-
from __future__ import absolute_import, unicode_literals, with_statement
97

108

119
class LibTmuxException(Exception):

libtmux/formats.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Format variables for tmux objects.
32
43
libtmux.formats
@@ -8,8 +7,6 @@
87
98
"""
109

11-
from __future__ import absolute_import, unicode_literals, with_statement
12-
1310
SESSION_FORMATS = [
1411
'session_name',
1512
'session_windows',

libtmux/pane.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
# -*- coding: utf-8 -*-
21
# flake8: NOQA W605
32
"""Pythonization of the :ref:`tmux(1)` pane.
43
54
libtmux.pane
65
~~~~~~~~~~~~
76
87
"""
9-
from __future__ import absolute_import, unicode_literals, with_statement
10-
118
import logging
129

1310
from . import exc

libtmux/server.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# -*- coding: utf-8 -*-
21
"""Pythonization of the :term:`tmux(1)` server.
32
43
libtmux.server
54
~~~~~~~~~~~~~~
65
76
"""
8-
from __future__ import absolute_import, unicode_literals, with_statement
9-
107
import logging
118
import os
129

libtmux/session.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# -*- coding: utf-8 -*-
21
"""Pythonization of the :term:`tmux(1)` session.
32
43
libtmux.session
54
~~~~~~~~~~~~~~~
65
76
"""
8-
from __future__ import absolute_import, unicode_literals, with_statement
9-
107
import logging
118
import os
129

libtmux/test.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Helper methods for libtmux and downstream libtmux libraries."""
3-
4-
from __future__ import absolute_import, unicode_literals, with_statement
5-
62
import contextlib
73
import logging
84
import os

libtmux/window.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# -*- coding: utf-8 -*-
21
"""Pythonization of the :term:`tmux(1)` window.
32
43
libtmux.window
54
~~~~~~~~~~~~~~
65
76
"""
8-
from __future__ import absolute_import, unicode_literals, with_statement
9-
107
import logging
118
import os
129
import shlex

tests/conftest.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
import logging
42
import os
53

tests/test_common.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Tests for utility functions in tmux."""
32

43
import re

tests/test_pane.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp Pane object."""
3-
from __future__ import absolute_import, unicode_literals, with_statement
4-
52
import logging
63

74
logger = logging.getLogger(__name__)

tests/test_server.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp Server object."""
3-
from __future__ import absolute_import, unicode_literals, with_statement
4-
52
import logging
63

74
from libtmux import Server

tests/test_session.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp Session object."""
3-
from __future__ import absolute_import, unicode_literals, with_statement
4-
52
import logging
63

74
import pytest

tests/test_tmuxobject.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp TmuxRelationalObject and TmuxMappingObject."""
3-
from __future__ import absolute_import, unicode_literals, with_statement
4-
52
import logging
63

74
from libtmux import Pane, Session, Window

tests/test_window.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp Window object."""
3-
from __future__ import absolute_import, unicode_literals, with_statement
4-
52
import logging
63

74
import pytest

0 commit comments

Comments
 (0)