Closed harkabeeparolus closed 5 months ago
I think I'm pretty happy with this one now... It still works great on both macOS and Linux, and I've silenced all the warnings from ruff, flake8, pylint, etc.
The only remaining warnings are in the get_processes()
function, for which I thought we might use https://github.com/giampaolo/psutil instead. I'll make a separate PR for that.
Ran
ruff format
andruff check --preview
, and fixed most of the warnings. I usedruff check --preview --unsafe-fixes --fix
where possible. (This is comparable to black, isort, pyupgrade, flake8, and various other linters.)This PR is pretty huge due to the auto formatting and switching from single quotes (') to double ("). The individual commits show the steps a little bit at a time.