News for hackers. Stuff that matters.
Re:Astral by brenns10 on Tuesday April 18, 2023 @10:36PM (#35623614)
You might be interested in pre-commit which does exactly that! https://pre-commit.com/

It probably will also support Ruff if it doesn't already.

Re:Astral by mixmastamyk on Wednesday April 19, 2023 @12:53PM (#35630457)
Yup, I know it, thanks. Think of the above as pseudo code.

Still, I want some things to run more often than commit, such as pyflakes.