Discussion about this post

User's avatar
Caleb Andrade's avatar

Thanks! I've been recently acquainted with your blog and I have to say I enjoy doing the reads and learn a lot. Many thanks Bite Code! Just one question if I may. I read in another article of yours not to install anything outside a virtual environment, does that rule apply to Nox? I've read that it is supposed to be installed globally, so I just wonder if it could work just fine inside a virtual environment or if there is any advantage by installing it globally. Thanks in advance!

Expand full comment
Neil's avatar

A nice alternative to doit is pre-commit (https://pre-commit.com). Its predicated on using Git to version control your project since it uses a pre-commit hook, but there are a vast array of hooks available for pre-commit for pylint, ruff, isort, nbstrip (to remove executed cells from Jupyter Notebooks that are under version control) and many, many more.

Its super useful. I've written about it https://ns-rse.github.io/posts/pre-commit/

Expand full comment
7 more comments...

No posts