Skip to content

Commit 9ab8d2e

Browse files
committed
chore: Remove __future__ and mode headers
1 parent 3cc7ce2 commit 9ab8d2e

21 files changed

+10
-73
lines changed

docs/_ext/aafig.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
sphinxcontrib.aafig
43
~~~~~~~~~~~~~~~~~~~
@@ -11,9 +10,6 @@
1110
:author: Leandro Lucarella <llucax@gmail.com>
1211
:license: BOLA, see LICENSE for details
1312
"""
14-
15-
from __future__ import unicode_literals
16-
1713
import posixpath
1814
from os import path
1915

docs/conf.py

Lines changed: 0 additions & 1 deletion
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

tests/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# -*- coding: utf-8 -*-
21
"""Tests for tmuxp.
32
43
tmuxp.tests
54
~~~~~~~~~~~
65
76
"""
8-
from __future__ import absolute_import, unicode_literals
9-
107
import os
118

129
current_dir = os.path.abspath(os.path.dirname(__file__))

tests/conftest.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
import logging
32
import os
43

@@ -49,12 +48,14 @@ def session(server):
4948

5049
if not server.has_session(session_name):
5150
server.cmd(
52-
'-f', '/dev/null', # use a blank config to reduce side effects
51+
'-f',
52+
'/dev/null', # use a blank config to reduce side effects
5353
'new-session',
5454
'-d', # detached
55-
'-s', session_name,
55+
'-s',
56+
session_name,
5657
'/bin/sh', # use /bin/sh as a shell to reduce side effects
57-
# normally, it'd be -c, but new-session is special
58+
# normally, it'd be -c, but new-session is special
5859
)
5960

6061
# find current sessions prefixed with tmuxp

tests/test_cli.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp command line interface."""
3-
from __future__ import absolute_import
4-
52
import json
63
import os
74

tests/test_config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp configuration import, inlining, expanding and export."""
3-
4-
from __future__ import absolute_import, unicode_literals
5-
62
import os
73

84
import pytest

tests/test_config_teamocil.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp teamocil configuration."""
3-
4-
from __future__ import absolute_import, unicode_literals
5-
62
import os
73

84
import pytest

tests/test_config_tmuxinator.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp tmuxinator configuration."""
3-
4-
from __future__ import absolute_import, unicode_literals
5-
62
import os
73

84
import pytest

tests/test_plugin.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Test for tmuxp plugin api."""
3-
from __future__ import absolute_import
4-
52
import pytest
63

74
from tmuxp.exc import TmuxpPluginException

tests/test_util.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# -*- coding: utf-8 -*-
21
"""Tests for utility functions in tmux."""
3-
4-
from __future__ import absolute_import, unicode_literals
5-
62
import os
73

84
import pytest

0 commit comments

Comments
 (0)