Skip to content

Commit 75ad593

Browse files
committed
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 <[email protected]>
1 parent b66b28e commit 75ad593

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tuf/api/metadata.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
SignedSerializer,
3232
)
3333

34+
# Disable the "C0302: Too many lines in module" warning which warns for modules
35+
# with more 1000 lines, because all of the code here is logically connected
36+
# and currently, we are above 1000 lines by a small margin.
37+
# pylint: disable=C0302
38+
3439

3540
class Metadata:
3641
"""A container for signed TUF metadata.

0 commit comments

Comments
 (0)