We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 817f61b commit a67afdeCopy full SHA for a67afde
HISTORY.rst
@@ -2,6 +2,11 @@
2
History
3
=======
4
5
+* Fix type hint for ``tree`` argument.
6
+
7
+ Thanks to kasium for the report in `Issue #352
8
+ <https://github.com/adamchainz/flake8-comprehensions/issues/352>`__.
9
10
3.6.0 (2021-08-13)
11
------------------
12
src/flake8_comprehensions/__init__.py
@@ -18,7 +18,7 @@ class ComprehensionChecker:
18
19
__slots__ = ("tree",)
20
21
- def __init__(self, tree: ast.Module) -> None:
+ def __init__(self, tree: ast.AST) -> None:
22
self.tree = tree
23
24
messages = {
0 commit comments