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

PyCharm inspection #53

Open
art1415926535 opened this issue Sep 13, 2019 · 0 comments · May be fixed by #54
Open

PyCharm inspection #53

art1415926535 opened this issue Sep 13, 2019 · 0 comments · May be fixed by #54

Comments

@art1415926535
Copy link

PyCharm code inspection highlights all choices.

Example:

STATES = Choices(
    ('ONLINE',  1, 'Online'),
    ('DRAFT',   2, 'Draft'),
    ('OFFLINE', 3, 'Offline'),
)

Inspection info:
Expected type 'list', got 'Tuple[str, int, str]' insted

@art1415926535 art1415926535 linked a pull request Sep 13, 2019 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant