News for hackers. Stuff that matters.
Re:How to create a Python package in 2022 by wyuenho on Thursday July 28, 2022 @09:10AM (#32263782)
> The CI/CD pipeline is there to give the team the confidence to merge your stuff.

That's why linting is a part of every CI stage. Linters check your code for bugs.

> Have your team installed hooks that take a long time to run?

Yes, they are called tests.

Re:How to create a Python package in 2022 by globular-toast on Thursday July 28, 2022 @09:29AM (#32264005)
Wait, you're not supposed to run tests with pre-commit. I can see why that would be frustrating. If that's the case, your team is doing it wrong.
Re:How to create a Python package in 2022 by wyuenho on Thursday July 28, 2022 @10:07AM (#32264478)
Perhaps, but it's not just one team, and if you are doing code quality checks on CI anyway, I don't see the point of pre-commit (for most people).