Hacker News new | past | comments | ask | show | jobs | submit login

Your unittests should have caught both of those errors. Also Django does use linting: https://github.com/django/django/blob/master/tox.ini#L36-L41



I did have unit tests, they didn't catch the bug though because the test used a synchronous callback (much easier to test) and real world code ran with async callback.


Re django using linting, it uses flake8, which is a nice tool... but misses lots of stuff pylint catches.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: