adding --local-partial-types mypy opt (#30491)

old-commit-hash: 5b2bcf6bf2
This commit is contained in:
Logan Lasiter
2023-11-18 22:47:11 -08:00
committed by GitHub
parent 54346eccee
commit 4f1ed42285
5 changed files with 20 additions and 15 deletions

View File

@@ -13,7 +13,7 @@ for d in ["cereal", "common", "scripts", "selfdrive", "tools"]:
if f.endswith(".py"):
pyf.append(os.path.join(root, f))
imps = set()
imps: set[str] = set()
class Analyzer(ast.NodeVisitor):
def visit_Import(self, node):