Skip to content

Commit 416d738

Browse files
committed
Remove old __future__ imports
1 parent 0e4400d commit 416d738

File tree

10 files changed

+0
-14
lines changed

10 files changed

+0
-14
lines changed

requests_oauthlib/compliance_fixes/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# ruff: noqa: F401
2-
from __future__ import absolute_import
3-
42
from .facebook import facebook_compliance_fix
53
from .fitbit import fitbit_compliance_fix
64
from .slack import slack_compliance_fix

requests_oauthlib/oauth1_auth.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
42
import logging
53

64
from oauthlib.common import extract_params

requests_oauthlib/oauth1_session.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals
2-
31
from urllib.parse import urlparse
42

53
import logging

requests_oauthlib/oauth2_auth.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
from oauthlib.oauth2 import WebApplicationClient, InsecureTransportError
32
from oauthlib.oauth2 import is_secure_transport
43
from requests.auth import AuthBase

requests_oauthlib/oauth2_session.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals
2-
31
import logging
42

53
from oauthlib.common import generate_token, urldecode

tests/test_compliance_fixes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
from unittest import TestCase
32

43
import requests

tests/test_core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
import requests
43
import requests_oauthlib
54
import oauthlib

tests/test_oauth1_session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals, print_function
21
import unittest
32
import requests
43
from io import StringIO

tests/test_oauth2_auth.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
import unittest
32

43
from oauthlib.oauth2 import WebApplicationClient, MobileApplicationClient

tests/test_oauth2_session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
import json
32
import time
43
import tempfile

0 commit comments

Comments
 (0)