mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
flake8 --ignore=E111,E121 script/cpplint.py
This commit is contained in:
3
script/cpplint.py
vendored
3
script/cpplint.py
vendored
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import argparse
|
||||
import fnmatch
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -83,7 +82,7 @@ def find_files(roots, test):
|
||||
for root in roots:
|
||||
for parent, _, children, in os.walk(root):
|
||||
for child in children:
|
||||
filename = os.path.join(parent,child)
|
||||
filename = os.path.join(parent, child)
|
||||
if test(filename):
|
||||
matches.add(filename)
|
||||
return matches
|
||||
|
||||
Reference in New Issue
Block a user