This seems really simple and surely I am missing something obvious, but I can get pycodestyle to work with wildcards on my Mac but not on my pc. What am I doing wrong ?
I have tried the following and it works on my Mac:
pycodestyle ./flaskr/*.py
pycodestyle --statistics ./flaskr/*.py
However this doesn't seem to work on a pc:
pycodestyle flaskr\*.py
pycodestyle "flaskr\*.py"
pycodestyle .\flaskr\*.py
pycodestyle ".\flaskr\*.py"
pycodestyle --statistics flaskr\*.py
pycodestyle --statistics .\flaskr\*.py
I expect a report or little output, but I tend to get something similar to the following:
E902 OSError: [Errno 22] Invalid argument: 'flaskr\\*.py'
windows
cmd.exe
does not expand wildcards like POSIX shells do -- so globbing techniques will not workin this case however, you're just trying to run on a single folder, which
pycodestyle
supports: