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

[DPE-6042] Make tox commands resilient to white-space paths #100

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

sinclert-canonical
Copy link
Contributor

@sinclert-canonical sinclert-canonical commented Dec 12, 2024

This PR fixes tox.ini commands when the repository is cloned on a white-space containing path.

How to reproduce:

$ mkdir -p "Projects/Canonical/Data Platform/MySQL"
$ cd "Projects/Canonical/Data Platform/MySQL"
$ git clone https://github.com/canonical/mysql-k8s-bundle
$ cd mysql-k8s-bundle
$ tox run -e format
> ...
> /Users/<USERNAME>/Projects/Canonical/Data:1:1: E902 No such file or directory (os error 2)
> Platform/MySQL/mysql-k8s-bundle/src:1:1: E902 No such file or directory (os error 2)
> Platform/MySQL/mysql-k8s-bundle/tests:1:1: E902 No such file or directory (os error 2)

@sinclert-canonical sinclert-canonical merged commit 028f86d into main Dec 16, 2024
5 checks passed
@sinclert-canonical sinclert-canonical deleted the sinclert/quote-tox-paths branch December 16, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants