4 ms·
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 https://githu
by aaronbasssett 10y ago
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 https://github.com/django/django/blob/master/tox.ini#L36-L41
- itamarst 10y agoI 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.
- itamarst 10y agoRe django using linting, it uses flake8, which is a nice tool... but misses lots of stuff pylint catches.