Ruff: enable most of bugbear (#29320)
* added mutable default args * most of the Bs * add comment about lrucache old-commit-hash: 62c1e6592439119f360dd64b854e7047f35222ba
This commit is contained in:
@@ -8,7 +8,7 @@ fouts = {x.decode('utf-8') for x in subprocess.check_output(['git', 'ls-files'])
|
||||
|
||||
pyf = []
|
||||
for d in ["cereal", "common", "scripts", "selfdrive", "tools"]:
|
||||
for root, dirs, files in os.walk(d):
|
||||
for root, _, files in os.walk(d):
|
||||
for f in files:
|
||||
if f.endswith(".py"):
|
||||
pyf.append(os.path.join(root, f))
|
||||
|
||||
Reference in New Issue
Block a user