flake8 --ignore=E111,E121 script/cpplint.py
This commit is contained in:
parent
30f8660a20
commit
58edfc26ed
1 changed files with 1 additions and 2 deletions
3
script/cpplint.py
vendored
3
script/cpplint.py
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue