Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nox.session.run-ing commands with pathlib.Path arguments #649

Merged
merged 2 commits into from Oct 7, 2022

Commits on Sep 4, 2022

  1. 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.
    Julian committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    ebca094 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Use os.fspath instead.

    Julian committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    7c75522 View commit details
    Browse the repository at this point in the history