Nox Tutorial

In my pursuit to improve as a software engineer, I discovered tools like Black and Ruff that helped me write pythonic code following PEP 8 best practices. While linter and formatter commands are easy to remember, testing commands can become painfully cumbersome. For example, in one of my current projects, testing requires this command: coverage run -m unittest discover -s "tests" -p "*_test.py" Followed by: coverage report --fail-under=100 #generates coverage report coverage html #creates HTML for coverage report Just typing those commands makes my fingers hurt! And that’s before dealing with virtual environment setup and dependencies. This is where Nox comes in. ...

August 22, 2025 · Caleb Aguirre-Leon