It's not a pylint warning, but an output from futurize. Futurize produces the
following output
```
RefactoringTool: Refactored apache_beam/typehints/typehints.py
--- apache_beam/typehints/typehints.py (original)
+++ apache_beam/typehints/typehints.py (refactored)
@@ -341,7 +341,7 @@
# Must either be a TypeConstraint instance or a basic Python type.
possible_classes = [type, TypeConstraint]
if sys.version_info[0] == 2:
- possible_classes.append(types.ClassType)
+ possible_classes.append(type)
is_not_type_constraint = (
not isinstance(type_param, tuple(possible_classes))
and type_param is not None)
```
>From which the script filters out the line ```RefactoringTool: Refactored
>apache_beam/typehints/typehints.py```, which does not have much details except
>for filename. We could add a directive in the code for ```futurize``` to
>ignore a line, but I did not see a way to do it - do we have one?
[ Full content available at: https://github.com/apache/beam/pull/6483 ]
This message was relayed via gitbox.apache.org for [email protected]