-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: nox.session.run-ing commands with pathlib.Path arguments
Previously this should have worked in theory, but the string which is logged for debugging calls shlex.quote, which was blowing up trying to quote the pathlib.Path. I'm slightly surprised shlex.quote doesn't support pathlib.Path objects (yet?) but for now here this just falls back to a cruder representation when quoting fails.
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
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