Suppress some too-many-* pylint design warnings in parse_arguments()

This commit is contained in:
Lee Miller 2023-08-27 00:46:42 +03:00
parent ddf07fd506
commit a7187d8dfd
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -22,7 +22,7 @@ def handler(s, f): # pylint: disable=unused-argument
shared.shutting_down = True shared.shutting_down = True
def parse_arguments(): def parse_arguments(): # pylint: disable=too-many-branches,too-many-statements
"""Parsing arguments""" """Parsing arguments"""
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument('-p', '--port', help='Port to listen on', type=int) parser.add_argument('-p', '--port', help='Port to listen on', type=int)