Skip to content

Commit

Permalink
chore(py3): remove outdated python2 utf8 import
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed May 15, 2024
1 parent 45c501b commit 95225f8
Show file tree
Hide file tree
Showing 23 changed files with 1 addition and 23 deletions.
1 change: 0 additions & 1 deletion exhale/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# https://github.com/svenevs/exhale/blob/master/LICENSE #
########################################################################################

from __future__ import unicode_literals

__version__ = "0.3.8.dev"

Expand Down
1 change: 0 additions & 1 deletion exhale/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
options are to modify the behavior of Exhale.
'''

from __future__ import unicode_literals

import os
import six
Expand Down
1 change: 0 additions & 1 deletion exhale/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
2. Launching the full API generation via the :func:`~exhale.deploy.explode` function.
'''

from __future__ import unicode_literals

from . import configs
from . import utils
Expand Down
1 change: 0 additions & 1 deletion exhale/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# https://github.com/svenevs/exhale/blob/master/LICENSE #
########################################################################################

from __future__ import unicode_literals

from . import configs
from . import parse
Expand Down
1 change: 0 additions & 1 deletion exhale/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# https://github.com/svenevs/exhale/blob/master/LICENSE #
########################################################################################

from __future__ import unicode_literals

from . import configs
from . import utils
Expand Down
2 changes: 1 addition & 1 deletion exhale/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://github.com/svenevs/exhale/blob/master/LICENSE #
########################################################################################

from __future__ import unicode_literals, annotations
from __future__ import annotations
from typing import TextIO, Union

from . import configs
Expand Down
1 change: 0 additions & 1 deletion testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
The testing package for Exhale.
"""

from __future__ import unicode_literals
import os


Expand Down
1 change: 0 additions & 1 deletion testing/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
All project based test cases should inherit from :class:`testing.base.ExhaleTestCase`.
"""

from __future__ import unicode_literals
import os
import platform
import re
Expand Down
1 change: 0 additions & 1 deletion testing/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
__ https://docs.pytest.org/en/latest/example/simple.html#package-directory-level-fixtures-setups
"""

from __future__ import unicode_literals

pytest_plugins = [
"sphinx.testing.fixtures",
Expand Down
1 change: 0 additions & 1 deletion testing/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
The decorators module defines useful class / function decorators for test cases.
"""

from __future__ import unicode_literals
from copy import deepcopy
from inspect import isclass

Expand Down
1 change: 0 additions & 1 deletion testing/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""
Provides fixtures to be available for all test cases.
"""
from __future__ import unicode_literals
from exhale import deploy
import pytest

Expand Down
1 change: 0 additions & 1 deletion testing/hierarchies.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
:func:`~testing.hierarchies.compare_file_hierarchy`.
"""

from __future__ import unicode_literals
import codecs
import os
import platform
Expand Down
1 change: 0 additions & 1 deletion testing/tests/c_maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``c_maths`` project.
"""

from __future__ import unicode_literals
import os

from testing.base import ExhaleTestCase
Expand Down
1 change: 0 additions & 1 deletion testing/tests/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""
Tests for validating error handling with configs set in ``conf.py``.
"""
from __future__ import unicode_literals
import re
import textwrap
from pathlib import Path
Expand Down
1 change: 0 additions & 1 deletion testing/tests/configs_tree_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""
Tests specifically focused on the various tree view configurations.
"""
from __future__ import unicode_literals

import os
import re
Expand Down
1 change: 0 additions & 1 deletion testing/tests/cpp_dir_underscores.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``cpp_dir_underscores`` project.
"""

from __future__ import unicode_literals
import os

from testing.base import ExhaleTestCase
Expand Down
1 change: 0 additions & 1 deletion testing/tests/cpp_fortran_mixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``cpp_fortran_mixed`` project.
"""

from __future__ import unicode_literals
import os
import platform
import re
Expand Down
1 change: 0 additions & 1 deletion testing/tests/cpp_func_overloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``cpp_func_overloads`` project.
"""

from __future__ import unicode_literals

from testing.base import ExhaleTestCase
from testing.decorators import no_cleanup
Expand Down
1 change: 0 additions & 1 deletion testing/tests/cpp_long_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``cpp_long_names`` project.
"""

from __future__ import unicode_literals
import hashlib
import os
import platform
Expand Down
1 change: 0 additions & 1 deletion testing/tests/cpp_nesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``cpp_nesting`` project.
"""

from __future__ import unicode_literals

import os.path as osp
import re
Expand Down
1 change: 0 additions & 1 deletion testing/tests/cpp_pimpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``cpp_nesting`` project.
"""

from __future__ import unicode_literals

import os
import re
Expand Down
1 change: 0 additions & 1 deletion testing/tests/cpp_with_spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Tests for the ``cpp_with_spaces`` project.
"""

from __future__ import unicode_literals

from testing.base import ExhaleTestCase
from testing.decorators import no_cleanup
Expand Down
1 change: 0 additions & 1 deletion testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Utility functionality for the testing suite.
"""

from __future__ import unicode_literals
try:
from collections.abc import Mapping
except ImportError:
Expand Down

0 comments on commit 95225f8

Please sign in to comment.