pytest-cov

pytest-cov

Coverage is a useful tool for checking how well your tests are covering all your code. pytest-cov is a plugin for pytest. It adds a very simple --cov parameter that will generate a list of all the lines that will be used when the tests runs.

Mypy

mypy

Know what you are getting and ideally what you are giving.

Radon

Radon - Keep your Code Easy to Understand

Writing code can be difficult, writing simple code can be even harder. To ensure you don’t get carried away you can use one of the many tools to assess the “quality” of labour.

pre-commit

Cleaning up as you go along

Wouldn’t it be nice if everyone cleaned up as they went along? It’s easy to ignore until you are faced with a big clean up.