Ruff: flake8 pie (misc lints) (#29318)

flake8 pie
This commit is contained in:
Justin Newberry
2023-08-10 15:28:51 -07:00
committed by GitHub
parent 670fa9af5f
commit af3ed37c5c
6 changed files with 7 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ for f in sorted(pyf):
print("%5d %s %s" % (lns, f, xbit))
if 'test' in f:
testlns += lns
elif f.startswith('tools/') or f.startswith('scripts/') or f.startswith('selfdrive/debug'):
elif f.startswith(('tools/', 'scripts/', 'selfdrive/debug')):
scriptlns += lns
elif f.startswith('selfdrive/car'):
carlns += lns