https://pre-commit.com/ can (and probably should) be used with any editor for such things.
Re:Tell HN: EmacsConf Live Now
by bloopernova on Saturday December 02, 2023 @02:02PM
(#38501019)
Just beware that the developer seems to be burned out, or unwilling to work with people despite the project being open source. Or they're an asshole, but I am trying to give them the benefit of the doubt.
They jump to the worst interpretation of bugs or comments, and reject most contributions from other people. They are also insulting when they do respond, even to people trying to work with them to their requirements or give them useful/relevant information.
That's my personal experience with pre-commit. It's a pity because otherwise the project works well.
I've usually been the lone Emacs user, but it's never been an issue. "Oh, we want the code to be Black-formatted and flake8-clean before commits. Here's the VSCode to make that happen." OK. That takes about 5 minutes to configure in Emacs, and now there's no way to tell that I'm using something different from my coworkers based on our commits alone.
I blogged about my annoyance with a boss who insisted that all programmers use 1) IDEs, and 2) his favorite one, because "productivity": https://honeypot.net/post/pianos/
Dude. I'm using Emacs on a Unix. This whole computer is my IDE.