WIP: chore(repo): Update lint tools to what lektor uses
Still work in progress. Commits will be rebased!
No functional code changes. Apart from black changing everything left and right, I changed minor things in test code to make pylint happy. I noticed Contributing docs is not complete, and I believe that setup.cfg and pyproject.toml could be unified, so I will try this later. I only opened the PR as a draft to make anybody aware that a PR will come.
There is some motivation to replace the use of black, flake8, reorder-python-imports, and pyupgrade with ruff (lektor/lektor#1209). I'm not exactly sure how soon that may happen. (I am swamped and not working on Lektor, atm.)
Anyway, there's really no reason that lektor-atom need use exactly the same tools as lektor. And the use of ruff in place of the others is mostly compatible, anyway.
If you're going to go through this work now, it might be worth switching directly to ruff.
Thank you, that information was the reason I created the draft PR. I've updated to ruff, but in the next days I want to be sure everything works with both pip and uv.