💄 Fix violations against pylint.

This commit is contained in:
Cheng Zhao 2013-09-27 10:21:27 +08:00
parent c029ff2055
commit ef8a05be38
8 changed files with 16 additions and 22 deletions

2
script/cpplint.py vendored
View file

@ -31,7 +31,7 @@ def main():
def list_files(directories, filters):
matches = []
for directory in directories:
for root, dirs, filenames, in os.walk(directory):
for root, _, filenames, in os.walk(directory):
for f in filters:
for filename in fnmatch.filter(filenames, f):
matches.append(os.path.join(root, filename))