uranusjr commented on a change in pull request #16668:
URL: https://github.com/apache/airflow/pull/16668#discussion_r659269759
##########
File path: tests/build_provider_packages_dependencies.py
##########
@@ -114,13 +114,14 @@ class ImportFinder(NodeVisitor):
AST visitor that collects all imported names in its imports
"""
- def __init__(self, filename):
+ def __init__(self, filename: str) -> None:
+
self.imports: List[str] = []
- self.filename = filename
+ self.filename: str = filename
Review comment:
I don’t think this is needed, Mypy is able to infer this from the
argument type IIRC.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]