question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False type for tree

See original GitHub issue

Python Version

3.7.1

flake8 Version

3.9.2

Package Version

latest

Description

Hi, thanks for adding type hints to the project. The type for ComprehensionChecker.__init__.tree is ast.Module, but should be ast.AST.

I’m happy to open a PR if you like

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kasiumcommented, Aug 16, 2021

Interesting find. However, flake8 is not a type package (py.typed is not part of the package), therefore mypy doesn’t care 😃

0reactions
adamchainzcommented, Aug 16, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Shop Amazon.com | Artificial Trees & Shrubs
Discover Artificial Trees on Amazon.com at a great price. Our Artificial Plants category offers a great selection of Artificial Trees and more.
Read more >
False Cypress Trees: Care and Growing Guide
Adorned with textured, scaly, cedar-like foliage, false cypress trees can be seen with green, blue-green, blue-gray, yellow, or gold foliage.
Read more >
False Cedar Genera
False Cedars (Calocedrus, Thuja, Chamaecyparis). "False cedar" is a name commonly used for several species of Pacific Northwest trees that occur in 3 ......
Read more >
False Cypresses
The false cypresses (Chamaecyparis spp.) are a group of beautiful, evergreen trees native to portions of North America and Asia.
Read more >
Robinia pseudoacacia
Robinia pseudoacacia, commonly known in its native territory as black locust, is a medium-sized hardwood deciduous tree, belonging to the tribe ... the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found