I am trying to figure out a way to break a long for loop to make it PEP-8 valid. (I'm using flake8 vscode extension).
This is the code:
for result_row in soup.find_all('div', {"class": "b2c-inner-data-wrapper"}):
..............
The error I get is:
line too long (88 > 79 characters)
I've tried:
for result_row in soup.find_all('div',
{"class": "b2c-inner-data-wrapper"}):
But I get:
continuation line under-indented for visual indent
What is the right way of doing it? Thanks.