Skip to content

Removed a simple pitfall case of a consider-using-in case#230

Open
NaelsonDouglas wants to merge 1 commit intoMorizeyao:old_gpt_2_chinese_before_2021_4_22from
python-pitfalls:old_gpt_2_chinese_before_2021_4_22
Open

Removed a simple pitfall case of a consider-using-in case#230
NaelsonDouglas wants to merge 1 commit intoMorizeyao:old_gpt_2_chinese_before_2021_4_22from
python-pitfalls:old_gpt_2_chinese_before_2021_4_22

Conversation

@NaelsonDouglas
Copy link
Copy Markdown

Problem:
The code was incurring into the consider-using-in pitfall case, as described by Pylint documentation here https://github.com/vald-phoenix/pylint-errors/blob/master/plerr/errors/refactoring/R1714.md

Solution:
Applied adequate refactoring. Only a single line of code was changed

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 this pull request may close these issues.

1 participant