flake8 --ignore=E111,E121 script/cpplint.py

This commit is contained in:
Charles Kerr 2017-12-19 16:02:36 -06:00
parent 30f8660a20
commit 58edfc26ed

3
script/cpplint.py vendored
View file

@ -1,7 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
import argparse import argparse
import fnmatch
import os import os
import sys import sys
@ -83,7 +82,7 @@ def find_files(roots, test):
for root in roots: for root in roots:
for parent, _, children, in os.walk(root): for parent, _, children, in os.walk(root):
for child in children: for child in children:
filename = os.path.join(parent,child) filename = os.path.join(parent, child)
if test(filename): if test(filename):
matches.add(filename) matches.add(filename)
return matches return matches