Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out if a executed statement spans multiple lines #8

Closed
ionelmc opened this issue Mar 28, 2015 · 0 comments
Closed

Figure out if a executed statement spans multiple lines #8

ionelmc opened this issue Mar 28, 2015 · 0 comments

Comments

@ionelmc
Copy link
Owner

ionelmc commented Mar 28, 2015

Here's an annoying example of the problem:

         checkers/variables.py:729   call          @check_messages(*(MSGS.keys()))
         checkers/variables.py:734   line              stmt = node.statement()
         checkers/variables.py:735   line              if stmt.fromlineno is None:
         checkers/variables.py:739   line              name = node.name
         checkers/variables.py:740   line              frame = stmt.scope()
         checkers/variables.py:744   line              if (is_func_default(node) or is_func_decorator(node)

The function definition is not shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant