Possibly wrong command line split behavior on Windows #28
Labels
bug
Something isn't working
help wanted
Extra attention is needed
question
Further information is requested
Milestone
(This issue was moved from akaihola/darker#456 together with the linting support implementation.)
A full linter command line can be provided to Darker, e.g.
Splitting that command line into parts is done using
shlex.split()
, and on Windows theposix=False
argument is added so backslashes as directory separators work correctly (todo: check this, not 100% sure).This works otherwise as expected, but if there's a quoted parameter, the quotes don't get stripped properly:
which is different from how it behaves on Unix.
A test
xfail
on Windows is added totest_check_linter_output()
to mark this as a known issue but have the test suite still pass.I'm not sure if the quotes are still removed correctly on Windows.
The text was updated successfully, but these errors were encountered: