Friday 24 April 2020

how can pylint msg “too many local variables” be disabled

you can modify the max-locals for local variable and max-args for method arguments in .pylintrc file
[DESIGN]

# Maximum number of locals for function / method body
max-locals=25

# Maximum number of arguments for function / method
max-args=10

from : https://stackoverflow.com/questions/50229140/how-can-pylint-msg-too-many-local-variables-be-disabled

No comments:

Post a Comment