3 ms·
I work on a reasonably large Django project (1M+ LOC) with approximately 100 developers and mostly have a reasonable time debugging. We use mypy, lots of linter
by jsmeaton 4y ago
I work on a reasonably large Django project (1M+ LOC) with approximately 100 developers and mostly have a reasonable time debugging. We use mypy, lots of linters (some custom flake8 plugins), and a fairly strict layered architecture[0] that's enforced with tooling[1].
Without the tooling it's a nightmare. My previous Django project with approx 500k LOC had linting and some typing and that was a mess.
[0] https://github.com/octoenergy/conventions/blob/master/patterns.md https://github.com/octoenergy/conventions/blob/master/patter...
[1] https://github.com/seddonym/import-linter https://github.com/seddonym/import-linter
- jonatron 4y agoIs there any chance of making Octopus's vendor.bundle.js less than 15MB? It takes time to load on any device, and the size makes the site unusable on mobile.
- jsmeaton 4y agoThere are some efforts going into the frontend to reduce these sizes. There's a bit of a transition between frameworks happening.
- robertwt7 4y agoWhat’s the difference between mypy and python built in type hint?
- sk0g 4y agoMyPy provides static analysis that uses the type hints to actually, well, do things with it. Type hints are the specification, but MyPy|PyLance|Pyright|Pyre use those hints for and type checking.
- jbkkd 4y ago200+ developers at this point