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

[FIX] Exclude missing-return checks for computed methods #455

Closed
wants to merge 1 commit into from

Commits on Jan 9, 2023

  1. [FIX] Exclude missing-return checks for computed methods

    Fixes OCA#450. Compute methods are not supposed to return any value,
    even if there is a super() in it, since super() shouldn't return
    anything either.
    
    The only reliable way to ensure a field is computed is if has
    been declared in the same python module (file), so this exclusion
    only applies to a limited set of cases.
    antonag32 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    d94b6ec View commit details
    Browse the repository at this point in the history