From f0dca4b113a328e2025338b07010ed92c68b7f2b Mon Sep 17 00:00:00 2001 From: widdowquinn Date: Thu, 30 Sep 2021 17:38:52 +0100 Subject: [PATCH] suppress extraneous linter reports --- bin/average_nucleotide_identity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/average_nucleotide_identity.py b/bin/average_nucleotide_identity.py index f033f5fc..7843b356 100755 --- a/bin/average_nucleotide_identity.py +++ b/bin/average_nucleotide_identity.py @@ -845,7 +845,7 @@ def subsample_input(infiles): # Run as script -if __name__ == "__main__": +if __name__ == "__main__": # noqa: C901 # Parse command-line args = parse_cmdline() @@ -967,9 +967,9 @@ def subsample_input(infiles): # and write out corresponding results. logger.info("Carrying out %s analysis", args.method) if args.method == "TETRA": - results = methods[args.method][0](infiles) + results = methods[args.method][0](infiles) # type: ignore else: - results = methods[args.method][0](infiles, org_lengths) + results = methods[args.method][0](infiles, org_lengths) # type: ignore write(results) # Do we want graphical output?