Skip to content

Commit 83974c7

Browse files
authored
removing linting contraint arise from noqa:SLF001
Signed-off-by: Kapil Sharma <ks3913688@gmail.com>
1 parent e63ba54 commit 83974c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tuf/ngclient/_internal/trusted_metadata_set.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,9 @@ def _load_from_simple_envelope(
490490

491491
envelope = SimpleEnvelope[T].from_bytes(data)
492492

493-
if envelope.payload_type != SimpleEnvelope.DEFAULT_PAYLOAD_TYPE: # noqa: SLF001
493+
if envelope.payload_type != SimpleEnvelope.DEFAULT_PAYLOAD_TYPE:
494494
raise exceptions.RepositoryError(
495-
f"Expected '{SimpleEnvelope.DEFAULT_PAYLOAD_TYPE}', " # noqa: SLF001
495+
f"Expected '{SimpleEnvelope.DEFAULT_PAYLOAD_TYPE}', "
496496
f"got '{envelope.payload_type}'"
497497
)
498498

0 commit comments

Comments
 (0)