From aaa5bb4fc06f5ed9a255ff58fdb9d58a7ba048e2 Mon Sep 17 00:00:00 2001 From: Martin Vrachev Date: Wed, 12 May 2021 16:34:33 +0300 Subject: [PATCH] Disable "C0302" for tuf/api/metadata.py Disable the "C0302: Too many lines in module" warning which warns for modules with more 1000 lines, because all of the code here is logically connected and currently, we are above 1000 lines by a small margin. Signed-off-by: Martin Vrachev --- tuf/api/metadata.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tuf/api/metadata.py b/tuf/api/metadata.py index 544d2221..a68cd3c3 100644 --- a/tuf/api/metadata.py +++ b/tuf/api/metadata.py @@ -31,6 +31,11 @@ SignedSerializer, ) +# Disable the "C0302: Too many lines in module" warning which warns for modules +# with more 1000 lines, because all of the code here is logically connected +# and currently, we are above 1000 lines by a small margin. +# pylint: disable=C0302 + class Metadata: """A container for signed TUF metadata.