1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-11-04 09:22:29 +01:00

Disable pylint too-many-statements message in download()

This commit is contained in:
Alexander Graf 2016-07-25 19:58:00 +02:00
parent 6583388abf
commit c77d372e74

View File

@ -199,6 +199,7 @@ def download(name, username = None, password = None, sessionfile = None, \
profile_pic_only = False, download_videos = True, fast_update = False, \
sleep_min_max=[0.25,2], quiet=False):
# pylint:disable=too-many-arguments,too-many-locals,too-many-nested-blocks,too-many-branches
# pylint:disable=too-many-statements
# We are aware that this function has many arguments, many local variables, many nested blocks
# and many branches. But we don't care.
session = load_object(sessionfile, quiet=quiet)