I am using Flake8
to get a standardized code. At the moment, I struggle to find any examples of multi-line if
conditions.
Example of if
statement that I have:
if 'name' in names and data and len(data) > MAX_ACCEPTABLE_LENGTH:
I cannot change the length of the constant. I tried to do (cond1 and cond2 and cond3) and separate them by lines but cannot get it right.
How can I do it?