-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Use POSIX shell rules for creating posargs string on non-Windows platforms #1336
Conversation
Hello, thanks for the PR. Please add a changelog entry. |
c3e1793
to
165bd6e
Compare
I've completed the checklist except for docs, which I think might be unnecessary for this bugfix. |
Please run |
Lint issue looks like a CI setup issue to me: |
Would someone be willing to run fix_lint on this patch? My distribution only has 3.5 in official repos, whereas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@asottile so all projects using pre-commit are then broken in Azure Pipelines? |
all projects using sqlite3 are currently broken for python3.5 and python3.7 on azure pipelines -- and yeah :/ pre-commit happens to use |
Thanks for the review + merge. Can I ask when you might be making the next pypi release of tox? |
Can do as soon as Azure gets better 👍 so maybe subscribe to https://github.com/microsoft/azure-pipelines-image-generation/issues/996 😄 |
Great, thank you! |
subprocess.list2cmdline()
uses Windows shell rules, which don't apply on Linux/Mac. This patch changes it to usepipes.quote()
(py2) orshlex.quote()
(py3)Contribution checklist:
(also see CONTRIBUTING.rst for details)
in message body
<issue number>.<type>.rst
for example (588.bugfix.rst)<type>
is must be one ofbugfix
,feature
,deprecation
,breaking
,doc
,misc
<your username>
"superuser
."CONTRIBUTORS
(preserving alphabetical order)