diff --git a/afew/Database.py b/afew/Database.py index 2656247..b6a8d90 100644 --- a/afew/Database.py +++ b/afew/Database.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import os import time import logging diff --git a/afew/FilterRegistry.py b/afew/FilterRegistry.py index bb0597c..5d3cb13 100644 --- a/afew/FilterRegistry.py +++ b/afew/FilterRegistry.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import pkg_resources diff --git a/afew/NotmuchSettings.py b/afew/NotmuchSettings.py index 17fa8af..aa0ca46 100644 --- a/afew/NotmuchSettings.py +++ b/afew/NotmuchSettings.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import os from .configparser import RawConfigParser diff --git a/afew/Settings.py b/afew/Settings.py index 57e1137..c351c5d 100644 --- a/afew/Settings.py +++ b/afew/Settings.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import os import re import collections diff --git a/afew/__init__.py b/afew/__init__.py index ba3759b..137b055 100644 --- a/afew/__init__.py +++ b/afew/__init__.py @@ -1,5 +1,3 @@ # -*- coding: utf-8 -*- # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> - -from __future__ import print_function, absolute_import, unicode_literals diff --git a/afew/__main__.py b/afew/__main__.py index 7aaca0e..3e17639 100644 --- a/afew/__main__.py +++ b/afew/__main__.py @@ -2,7 +2,5 @@ # SPDX-License-Identifier: ISC # Copyright (c) Lucas Hoffmann -from __future__ import print_function, absolute_import, unicode_literals - from afew.commands import main main() diff --git a/afew/commands.py b/afew/commands.py index 6e8c514..89a2a48 100644 --- a/afew/commands.py +++ b/afew/commands.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import glob import sys import time diff --git a/afew/files.py b/afew/files.py index c6d5697..38e0165 100644 --- a/afew/files.py +++ b/afew/files.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import os import re import stat diff --git a/afew/filters/ArchiveSentMailsFilter.py b/afew/filters/ArchiveSentMailsFilter.py index 610c344..826a98e 100644 --- a/afew/filters/ArchiveSentMailsFilter.py +++ b/afew/filters/ArchiveSentMailsFilter.py @@ -2,11 +2,10 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - from ..filters.SentMailsFilter import SentMailsFilter from ..NotmuchSettings import get_notmuch_new_tags + class ArchiveSentMailsFilter(SentMailsFilter): message = 'Archiving all mails sent by myself to others' diff --git a/afew/filters/BaseFilter.py b/afew/filters/BaseFilter.py index 340b2d3..0b47aa8 100644 --- a/afew/filters/BaseFilter.py +++ b/afew/filters/BaseFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import collections import logging diff --git a/afew/filters/DKIMValidityFilter.py b/afew/filters/DKIMValidityFilter.py index 519d52e..609da04 100644 --- a/afew/filters/DKIMValidityFilter.py +++ b/afew/filters/DKIMValidityFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Amadeusz Zolnowski -from __future__ import print_function, absolute_import, unicode_literals - import dkim from .BaseFilter import Filter diff --git a/afew/filters/DMARCReportInspectionFilter.py b/afew/filters/DMARCReportInspectionFilter.py index 0994492..f289678 100644 --- a/afew/filters/DMARCReportInspectionFilter.py +++ b/afew/filters/DMARCReportInspectionFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Amadeusz Zolnowski -from __future__ import print_function, absolute_import, unicode_literals - import re import tempfile import xml.etree.ElementTree as ET diff --git a/afew/filters/FolderNameFilter.py b/afew/filters/FolderNameFilter.py index 1dafd6d..97e2510 100644 --- a/afew/filters/FolderNameFilter.py +++ b/afew/filters/FolderNameFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) dtk -from __future__ import print_function, absolute_import, unicode_literals - from .BaseFilter import Filter from ..NotmuchSettings import notmuch_settings import re diff --git a/afew/filters/HeaderMatchingFilter.py b/afew/filters/HeaderMatchingFilter.py index 69995ed..588c824 100644 --- a/afew/filters/HeaderMatchingFilter.py +++ b/afew/filters/HeaderMatchingFilter.py @@ -5,8 +5,6 @@ # Copyright (c) 2013 Patrick Totzke # Copyright (c) 2014 Lars Kellogg-Stedman -from __future__ import print_function, absolute_import, unicode_literals - from .BaseFilter import Filter import re diff --git a/afew/filters/InboxFilter.py b/afew/filters/InboxFilter.py index 8000ca9..48d3a41 100644 --- a/afew/filters/InboxFilter.py +++ b/afew/filters/InboxFilter.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals from .BaseFilter import Filter from ..NotmuchSettings import get_notmuch_new_tags, get_notmuch_new_query diff --git a/afew/filters/KillThreadsFilter.py b/afew/filters/KillThreadsFilter.py index e9732d7..c3ad3bb 100644 --- a/afew/filters/KillThreadsFilter.py +++ b/afew/filters/KillThreadsFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - from .BaseFilter import Filter diff --git a/afew/filters/ListMailsFilter.py b/afew/filters/ListMailsFilter.py index fec3e21..9c0181b 100644 --- a/afew/filters/ListMailsFilter.py +++ b/afew/filters/ListMailsFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - from .HeaderMatchingFilter import HeaderMatchingFilter diff --git a/afew/filters/MeFilter.py b/afew/filters/MeFilter.py index 67c4f30..10bb806 100644 --- a/afew/filters/MeFilter.py +++ b/afew/filters/MeFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Amadeusz Zolnowski -from __future__ import print_function, absolute_import, unicode_literals - import re from ..utils import filter_compat diff --git a/afew/filters/PropagateTagsByRegexInThreadFilter.py b/afew/filters/PropagateTagsByRegexInThreadFilter.py index 1dd464f..07fa589 100644 --- a/afew/filters/PropagateTagsByRegexInThreadFilter.py +++ b/afew/filters/PropagateTagsByRegexInThreadFilter.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # Copyright (c) Jens Neuhalfen -from __future__ import print_function, absolute_import, unicode_literals - import re from itertools import chain diff --git a/afew/filters/PropagateTagsInThreadFilter.py b/afew/filters/PropagateTagsInThreadFilter.py index 3faca66..39c20a3 100644 --- a/afew/filters/PropagateTagsInThreadFilter.py +++ b/afew/filters/PropagateTagsInThreadFilter.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # Copyright (c) Jens Neuhalfen -from __future__ import print_function, absolute_import, unicode_literals - from .BaseFilter import Filter diff --git a/afew/filters/SentMailsFilter.py b/afew/filters/SentMailsFilter.py index cd6ad47..7295555 100644 --- a/afew/filters/SentMailsFilter.py +++ b/afew/filters/SentMailsFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import re from ..utils import filter_compat diff --git a/afew/filters/SpamFilter.py b/afew/filters/SpamFilter.py index 8524d7c..08dfda7 100644 --- a/afew/filters/SpamFilter.py +++ b/afew/filters/SpamFilter.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - from .HeaderMatchingFilter import HeaderMatchingFilter diff --git a/afew/filters/__init__.py b/afew/filters/__init__.py index 9ff716d..dd4690d 100644 --- a/afew/filters/__init__.py +++ b/afew/filters/__init__.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import os import glob diff --git a/afew/main.py b/afew/main.py index 295614c..84f16f4 100644 --- a/afew/main.py +++ b/afew/main.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import random import sys diff --git a/afew/utils.py b/afew/utils.py index 43e66c7..91a03a5 100644 --- a/afew/utils.py +++ b/afew/utils.py @@ -2,8 +2,6 @@ # SPDX-License-Identifier: ISC # Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -from __future__ import print_function, absolute_import, unicode_literals - import codecs import re import sys