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 "unsubscriptable-object" issue in kyu_2/evaluate_mathematical_expression/evaluate.py #512

Open
ikostan opened this issue Oct 30, 2024 · 2 comments

Comments

@ikostan
Copy link
Member

ikostan commented Oct 30, 2024

Value 'tuple' is unsubscriptable

https://codeclimate.com/github/iKostanOrg/codewars/kyu_2/evaluate_mathematical_expression/evaluate.py#issue_6721b1496578ac0001000890

@ikostan
Copy link
Member Author

ikostan commented Oct 30, 2024

Value 'tuple' is unsubscriptable New
def check_conditions(strings: list, string: str, temp: str) -> tuple[str, str]:
Severity: CriticalFound in kyu_2/evaluate_mathematical_expression/evaluate.py by pylint

@ikostan
Copy link
Member Author

ikostan commented Oct 30, 2024

Emitted when a subscripted value doesn't support subscription (i.e. doesn't define getitem method or class_getitem for a class).

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

No branches or pull requests

1 participant