Skip to content

Conversation

@shtrom
Copy link
Member

@shtrom shtrom commented Mar 21, 2025

No description provided.

shtrom added 4 commits March 21, 2025 16:20
* Bump for psycopg/psycopg2#1397
* Rebuild requirements.txt with pip-compile
* Bump to fix `ImportError: cannot import name _unicodefun from click`
* Rebuild requirements.txt with pip-compile --generate-hashes --upgrade
@globau globau requested review from cgsheeh and zzzeid March 21, 2025 07:26
import pathlib
from dataclasses import dataclass
from typing import Protocol, Dict
from typing import Optional, Protocol, Dict
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Off topic: we should get our usual combination of ruff/black running on this repo at some point, for import sorting etc. :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's got black running in the tests https://github.com/mozilla-conduit/phabricator-emails/blob/master/tests/test_style.py#L16-L17

This code base hasn't been touched in a while (:

try:
# Use POST instead of GET so that the conduit token isn't part of the URL
result = requests.post(url, data=body)
result = self._session.post(url, data=body)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively you could just add the headers to post here, without managing a session, but this LGTM.

@globau globau merged commit 0f27a3f into mozilla-conduit:master Mar 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants