test/integration/jw-pkg: Rename to jw_pkg for mypy module names #141
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/fix/20261016-test-integration-jw-pkg-rename-to-jw-pkg-for-mypy-module-names"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rename the integration test tree
test/integration/jw-pkg/to the valid Python identifierjw_pkgsomypycan derive module names from the full path: below a path component that is not a valid identifier, the module name falls back to the bare file name, and the two same-namedtest.pydrivers collided. The rename also restores the secrets driver to thetest.pyname like all the others, and the second commit carries the minisculemake formatfallout of the new paths.test/integration/jw-pkg -> test/integration/jw_pkg
The
mypymodule names of the test tree derive from the full path, anchored by the top-leveltest/__init__.py, but a file below a path component that is not a valid identifier - the dashes injw-pkg- falls back to the bare file name, so two same-namedtest.pydrivers collide (the duplicate module error that drove therunme.pyandmain.pyrenames).Rename the directory a sane Python name -
jw_pkg, that's the better fix. Then name the drivertest.pylike all the others for consistency.test/integration/jw-pkg/secrets: Fix make format fallout
Fix a miniscule
make formatchurn.