The linter is expecting that whitespace line up with an open parenthesis. In particular, this section starting on line 115:
try:
try:
if(session is not None):
result = session.request(method,
url,
headers=session.headers,
data=post_data,