3
0
Fork 0

fix: fix 'too-many-return-statements' for pylint

This commit is contained in:
Lance Edgar 2025-08-31 20:10:06 -05:00
parent bb2bde5ecd
commit e6c495b40d
2 changed files with 3 additions and 2 deletions

View file

@ -5,3 +5,4 @@ disable=all
enable=
inconsistent-return-statements,
too-many-instance-attributes,
too-many-return-statements,

View file

@ -141,7 +141,7 @@ def get_form_data(request):
return request.POST
def get_libver(
def get_libver( # pylint: disable=too-many-return-statements
request,
key,
configured_only=False,
@ -281,7 +281,7 @@ def get_libver(
return None
def get_liburl(
def get_liburl( # pylint: disable=too-many-return-statements
request,
key,
configured_only=False,