Remove redundant encoding specifiers and __future__ imports
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
"""Facebook Chat (Messenger) for Python
|
||||
|
||||
:copyright: (c) 2015 - 2019 by Taehoon Kim
|
||||
:license: BSD 3-Clause, see LICENSE for more details.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
# These imports are far too general, but they're needed for backwards compatbility.
|
||||
from .models import *
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from . import _util
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import requests
|
||||
import urllib
|
||||
from uuid import uuid1
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import logging
|
||||
import aenum
|
||||
|
||||
|
@@ -1,7 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
class FBchatException(Exception):
|
||||
"""Custom exception thrown by ``fbchat``.
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from ._attachment import Attachment
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import json
|
||||
import re
|
||||
from . import _util
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from . import _plan
|
||||
from ._thread import ThreadType, Thread
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from ._attachment import Attachment
|
||||
from . import _util
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
import json
|
||||
from string import Formatter
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from . import _plan
|
||||
from ._thread import ThreadType, Thread
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
import json
|
||||
from ._core import Enum
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from ._attachment import Attachment
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
import bs4
|
||||
import re
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from ._attachment import Attachment
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from ._core import Enum
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import attr
|
||||
from ._core import Enum
|
||||
from . import _plan
|
||||
|
@@ -1,6 +1,3 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
import json
|
||||
from time import time
|
||||
|
@@ -1,11 +1,9 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
"""This file is here to maintain backwards compatability, and to re-export our models
|
||||
into the global module (see `__init__.py`).
|
||||
|
||||
A common pattern was to use `from fbchat.models import *`, hence we need this while
|
||||
transitioning to a better code structure.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from ._core import Enum
|
||||
from ._exception import FBchatException, FBchatFacebookError, FBchatUserError
|
||||
|
Reference in New Issue
Block a user