-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue 50: use relative paths in config file (#78)
* test Repository.from_config with both relative and absolute paths * explicitly test path args for Repository.__init__ * extend test for Repository.save_config to ensure relative paths * save relative paths to config file, if possible Although using paths that are *not* relative to the current working directory (cwd) is discouraged, this *should* still be possible. So, if the path is not relative to cwd, we just save the absolute path. * try to fix github actions for windows/mac see this issue: actions/runner-images#712 * handle 8.3 filenames in Repository.save_config() * add _patched_resolve() as workaround for cpython #82852 for python <3.10 on windows * ruff formatting
- Loading branch information
1 parent
0a944ab
commit 5f0bddb
Showing
3 changed files
with
116 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters