pypa-hatch/tests/backend/utils
JP-Ellis 2aa30185ea
Add `:parent` path modifier (#1160)
* Add ':parent' path modifier

Add a new `:parent` modifier for path. This can be specified any numbers
of times, with each addition stripping one level from the path.

This is useful in the context of a monorepo to help normalise paths
between sibling packages.

Resolves: #825

Signed-off-by: JP-Ellis <josh@jpellis.me>

* update

---------

Signed-off-by: JP-Ellis <josh@jpellis.me>
Co-authored-by: Ofek Lev <ofekmeister@gmail.com>
2023-12-17 22:30:17 -05:00
..
__init__.py Move context formatter to Hatchling (#250) 2022-05-17 18:51:45 -04:00
test_context.py Add `:parent` path modifier (#1160) 2023-12-17 22:30:17 -05:00
test_fs.py Properly escape spaces for URI context formatting (#1099) 2023-12-09 01:20:08 -05:00