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

Remove false positive error of missing member in TextChoices tuples #298

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 6, 2020

  1. [refs pylint-dev#263] Add test for tuples in TextChoice

    Why:
    
    - Test that the fields label and value are not marked as missing
    
    This change addresses the need by:
    
    - Adding a test to ensure that pylint does not mark these as errors
    moritz89 committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    26f7064 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. [refs pylint-dev#263] Add initial transform code for text choices

    Why:
    
    - Transform tuples to include value and label properties
    
    This change addresses the need by:
    
    - Adding the text_choices transform file
    - Integrating in the transforms init file
    - Focusing on the predicate for the rule to trigger the transform
    moritz89 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    2815db7 View commit details
    Browse the repository at this point in the history