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

Detect '@' dotted_name '(' ')' NEWLINE as a simple decorator #2182

Merged
merged 1 commit into from May 4, 2021

Commits on May 3, 2021

  1. Detect '@' dotted_name '(' ')' NEWLINE as a simple decorator

    Previously the RELAXED_DECORATOR detection would be falsely True on that
    example. The problem was that an argument-less parentheses pair didn't
    pass the `is_simple_decorator_trailer` check even it should. OTOH a
    parentheses pair containing an argument or more passed as expected.
    ichard26 committed May 3, 2021
    Copy the full SHA
    776aa2f View commit details
    Browse the repository at this point in the history