diff --git a/send2trash/__main__.py b/send2trash/__main__.py index 1df566a..5aa3a6e 100644 --- a/send2trash/__main__.py +++ b/send2trash/__main__.py @@ -1,12 +1,9 @@ -# encoding: utf-8 # Copyright 2017 Virgil Dupras # This software is licensed under the "BSD" License as described in the "LICENSE" file, # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licenses/bsd_license -from __future__ import print_function - import sys from argparse import ArgumentParser diff --git a/send2trash/mac/legacy.py b/send2trash/mac/legacy.py index 3a9bb29..f24476f 100644 --- a/send2trash/mac/legacy.py +++ b/send2trash/mac/legacy.py @@ -4,7 +4,6 @@ # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licenses/bsd_license -from __future__ import unicode_literals from ctypes import cdll, byref, Structure, c_char, c_char_p from ctypes.util import find_library diff --git a/send2trash/plat_other.py b/send2trash/plat_other.py index 4aee92b..6f80275 100644 --- a/send2trash/plat_other.py +++ b/send2trash/plat_other.py @@ -14,7 +14,6 @@ # For external volumes this implementation will raise an exception if it can't # find or create the user's trash directory. -from __future__ import unicode_literals import errno import shutil diff --git a/send2trash/util.py b/send2trash/util.py index 2e43a85..c0b1df8 100644 --- a/send2trash/util.py +++ b/send2trash/util.py @@ -1,4 +1,3 @@ -# encoding: utf-8 # Copyright 2017 Virgil Dupras # This software is licensed under the "BSD" License as described in the "LICENSE" file, diff --git a/send2trash/win/__init__.py b/send2trash/win/__init__.py index 4a06123..14c221c 100644 --- a/send2trash/win/__init__.py +++ b/send2trash/win/__init__.py @@ -4,7 +4,6 @@ # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licenses/bsd_license -from __future__ import unicode_literals from platform import version # if windows is vista or newer and pywin32 is available use IFileOperation diff --git a/send2trash/win/legacy.py b/send2trash/win/legacy.py index a375415..9df71a6 100644 --- a/send2trash/win/legacy.py +++ b/send2trash/win/legacy.py @@ -4,7 +4,6 @@ # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licenses/bsd_license -from __future__ import unicode_literals import os.path as op from ctypes import ( windll, diff --git a/send2trash/win/modern.py b/send2trash/win/modern.py index 09479dd..ff0b150 100644 --- a/send2trash/win/modern.py +++ b/send2trash/win/modern.py @@ -4,7 +4,6 @@ # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licenses/bsd_license -from __future__ import unicode_literals import os.path as op from platform import version import pythoncom diff --git a/tests/conftest.py b/tests/conftest.py index 0753384..616a9a5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,3 @@ -# encoding: utf-8 import sys import os from tempfile import NamedTemporaryFile diff --git a/tests/test_plat_other.py b/tests/test_plat_other.py index dc340ee..e451175 100644 --- a/tests/test_plat_other.py +++ b/tests/test_plat_other.py @@ -1,4 +1,3 @@ -# encoding: utf-8 import codecs import os import sys diff --git a/tests/test_plat_win.py b/tests/test_plat_win.py index b595fd2..92eaf96 100644 --- a/tests/test_plat_win.py +++ b/tests/test_plat_win.py @@ -1,4 +1,3 @@ -# encoding: utf-8 import os import shutil import sys diff --git a/tests/test_script_main.py b/tests/test_script_main.py index c21fa92..ee98ec0 100644 --- a/tests/test_script_main.py +++ b/tests/test_script_main.py @@ -1,4 +1,3 @@ -# encoding: utf-8 from os import path as op import pytest