Closed bouweandela closed 9 months ago
Awesome! Will merge this after #347. The doc test was also fixed in that PR, so let's take that fix out of this PR.
I rebased on main and removed the test fixes from the second commit. That left only the deprecated .project replacement, so I renamed the commit to reflect that. This resolves the merge conflicts.
Ok, fun! Two errors detected :)
__init__.py
files from those sub-modules (ruff complains about them because they don't end in a newline), since with modern namespace sub-modules they are not even necessary anymore.It seems like __init__.py
is still necessary at this point, possibly the configuration isn't yet properly set for new style namespace packages. Anyway, no problem, fix coming.
Did a fixup rebase of the first commit to fix the tests there.
Thanks a lot for this!
Thanks for fixing the merge conflict @egpbos!
Description
Speed up the tests by re-using the baked project.
Also:
.project
with.project_path
--no-autodetect
when running prospector to avoid a warning about Django not being installedOutput of
pytest --durations=0
before (119 seconds):and after (25 seconds):