Skip to content

Commit

Permalink
Merge pull request #590 from JohnVillalovos/jlvillal/fix_589
Browse files Browse the repository at this point in the history
chore: add `setuptools` to `requirements-dev.txt`
  • Loading branch information
mjs authored Jul 23, 2024
2 parents 8d6ed5a + ce22298 commit 5bfb0ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions imapclient/imapclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,9 +1157,11 @@ def _search(self, criteria, charset):
"about search criteria syntax..\n"
"https://imapclient.readthedocs.io/en/master/#imapclient.IMAPClient.search".format(
original_msg=m.group(1),
criteria='"%s"' % criteria
if not isinstance(criteria, list)
else criteria,
criteria=(
'"%s"' % criteria
if not isinstance(criteria, list)
else criteria
),
)
)

Expand Down
1 change: 1 addition & 0 deletions imapclient/response_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class Envelope:
See :rfc:`3501#section-7.4.2` and :rfc:`2822` for further details.
"""

date: Optional[datetime.datetime]
subject: bytes
from_: Optional[Tuple["Address", ...]]
Expand Down
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sphinx==7.2.6
black==23.11.0
black==24.3.0
flake8==6.1.0
isort==5.12.0
mypy==1.8.0
pylint==3.0.2
setuptools==70.1.1

0 comments on commit 5bfb0ec

Please sign in to comment.