Hacker News new | ask | show | jobs
by kingkongjaffa 1254 days ago
I use Type hints and using mypy strictly.

Huge fan of dataclasses as well.

Most of the python I write is functions / functional + data classes with type hinted everything and it seems to work nicely and make writing tests for functions very easy.

Using black, isort, mypy, pylint, pytest, makes every project simpler.