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 <mvrachev@vmware.com>
This commit is contained in:
Martin Vrachev 2021-05-12 16:34:33 +03:00
parent 408732f4ff
commit aaa5bb4fc0

View file

@ -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.