Andrew Chen Wang
Andrew Chen Wang
Err for docker-compose, are't you just prepending `docker-compose -f local.yml run django mypy`?
Hm so it seems doable. Run the pip install on local.txt. It’ll cut down a large chunk of time since I believe 1/3 of the time is spent installing the...
@browniebroke Would this allow for a decrease in the number of docker images generated, too? I’m not quite acquainted with this celery multi start functionality, albeit already implemented in my...
@arnav13081994 I didn't actually want to use Docker at all just because most of the time was spent on installing OS/Dist packages and pip installing (just remember that downloading the...
@arnav13081994 No problem! Yea take a look at the PR and my repo. Tests for me take only 1.5 minutes total, so the PR definitely helps.
@malefice Hey I filed some error regarding the PIDfiles in celery. Somehow, right after celery v4.4.2, the PIDFile was being placed incorrectly and stuff. I haven't used celery in awhile,...
I hate Javascript so much already but... I guess testing JS is still necessary. Some helpful article: https://levelup.gitconnected.com/how-to-unit-test-html-and-vanilla-javascript-without-a-ui-framework-c4c89c9f5e56
A pure JS version would be using QUnit. Haven't tested this lib though. Django has some kind of support but requires node: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/#running-the-javascript-tests Django's example: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/javascript/#testing-from-the-command-line
Hm well something like tasks.py isn't particularly useful either, but it does have a test when use_celery is set to yes. I don't see why not, for best practice sake....
I don't particularly trust JS frameworks with Django if that's what you're referring to with DRF (running djangorestframework-simplejwt which is what a lot of JS frameworks use for "sessions" in...