Skip to content

Commit f2cad70

Browse files
chore: resolve formatting issues so black==23.7.0 check passes
In order to upgrade to `black==23.7.0` some re-formatting is required. Reformat the code, so that the Dependabot PR will pass CI.
1 parent 9dc72f0 commit f2cad70

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

imapclient/response_lexer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def __iter__(self):
146146

147147

148148
class PushableIterator(object):
149-
150149
NO_MORE = object()
151150

152151
def __init__(self, it):

imapclient/tls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414

1515
def wrap_socket(sock, ssl_context, host):
16-
1716
if not hasattr(ssl, "create_default_context"):
1817
# Python 2.7.0 - 2.7.8 do not have the concept of ssl contexts.
1918
# Thus we have to use the less flexible and legacy way of wrapping the

livetest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181

8282

8383
class _TestBase(unittest.TestCase):
84-
8584
conf = None
8685
use_uid = True
8786

tests/test_imap_utf7.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ class IMAP4UTF7TestCase(unittest.TestCase):
2525
]
2626

2727
def test_encode(self):
28-
for (input, output) in self.tests:
28+
for input, output in self.tests:
2929
encoded = encode(input)
3030
self.assertIsInstance(encoded, bytes)
3131
self.assertEqual(encoded, output)
3232

3333
def test_decode(self):
34-
for (input, output) in self.tests:
34+
for input, output in self.tests:
3535
decoded = decode(output)
3636
self.assertIsInstance(decoded, str)
3737
self.assertEqual(input, decoded)

0 commit comments

Comments
 (0)