I'm unable to exclude a directory from being autoformatted with yapf.
Tested usages:
yapf --in-place --recursive --parallel --exclude 'somedir' --exclude '*_pb2.py' .
yapf --in-place --recursive --parallel --exclude 'somedir/*' --exclude '*_pb2.py' .
yapf --in-place --recursive --parallel --exclude 'somedir/**' --exclude '*_pb2.py' .
It seems to take file patterns well but not folder patterns.
- yapf version: 0.21.0
- OS: Ubuntu 14.04 LTS
- python version: 2.7 (in a virtualenv)