I have installed Google yapf (yet another python formatter) under a project and try to format all my python files in-place, however I got the following error:
$ yapf -i -r files **.py
yapf: Input filenames did not match any python files
why yapf is incapable of understanding pattern? What should I do to achieve the same thing?
EDIT I also tried yapf -ir as suggested but I got:
$ yapf -ir
usage: yapf [-h] [-v] [-d | -i] [-r | -l START-END] [-e PATTERN]
[--style STYLE] [--style-help] [--no-local-style] [-p] [-vv]
[files [files ...]]
yapf: error: cannot use --in-place or --diff flags when reading from stdin
which is strange as I'm not reading from stdin