Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address remaining pylint complaints #481

Merged
merged 2 commits into from
Nov 3, 2024
Merged

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Nov 3, 2024

Note that CI will still fail because codecov now requires an upload token. We end up hard coding them in .codecov.yml for most repos now ex https://github.com/aio-libs/yarl/blob/dfc41dbfcd5a91283ab6c5c21d70bc4b1c377789/.codecov.yml#L10

@@ -323,7 +323,7 @@ def start(self):
and os.name != "nt"
):
logger.debug("Setting child watcher")
watcher = asyncio.SafeChildWatcher()
watcher = asyncio.SafeChildWatcher() # pylint: disable=deprecated-class
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably delete this once support for Python 3.11 and older is dropped

@ikalchev
Copy link
Owner

ikalchev commented Nov 3, 2024

Yeah I know I know. I have little time these days, unfortunately, but will try to address such maintenance issues son. Thanks for doing a stellar job!

@ikalchev ikalchev merged commit 0a97ad9 into ikalchev:dev Nov 3, 2024
1 of 8 checks passed
@bdraco bdraco deleted the pylint_task2 branch November 3, 2024 09:12
ikalchev added a commit that referenced this pull request Nov 3, 2024
* Late-import base36 and QR code libraries; remove SUPPORT_QR_CODE flag

* Increase idle connection check interval to 300s (#475)

This check was creating a lot of TimerHandles when the user
had multiple bridges. We do not need to check very often
as connections usually stay around for 24+hours

* Implement zerocopy writes for the encrypted protocol (#476)

* Implement zerocopy writes for the encrypted protocol

With Python 3.12+ and later `transport.writelines` is implemented as [`sendmsg(..., IOV_MAX)`](python/cpython#91166) which allows us to avoid joining the bytes and sending them in one go.

Older Python will effectively do the same thing we do now `b"".join(...)`

* update tests

* Revert "Late-import base36 and QR code libraries; remove SUPPORT_QR_CODE flag" (#477)

* Avoid os.chmod failing on Windows if file non-existant (#471)

* Avoid os.chmod failing on Windows if file non-existant

* Update accessory_driver.py

---------

Co-authored-by: Ivan Kalchev <25887324+ikalchev@users.noreply.github.com>

* Fix mdns tests (#478)

* Fix pylint complaints (#480)

* Address remaining pylint complaints (#481)

* Address remaining pylint complaints

* Address remaining pylint complaints

* v4.9.2

---------

Co-authored-by: Aarni Koskela <akx@iki.fi>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Perry Kundert <perry@kundert.ca>
Co-authored-by: Ivan Kalchev <ii.kalchev@gmail.com>
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.

2 participants