Ruff: flake8 pie (misc lints) (#29318)
flake8 pie old-commit-hash: af3ed37c5cd8823f793aec60e1c74760cf795bd9
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user