Skip to content

Commit c6dd99b

Browse files
fix: disabled pylint E1136 in test_check_results.py to prevent spurious warnings.
Signed-off-by: Abhinav Pradeep <[email protected]>
1 parent 98a9b5e commit c6dd99b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/slsa_analyzer/checks/test_check_results.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 - 2024, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2025 - 2025, Oracle and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
33

44
"""This module contains the tests for the check results."""
@@ -24,10 +24,14 @@ class MockFacts(CheckFacts):
2424
__tablename__ = "_test_check"
2525

2626
#: The primary key.
27-
id: Mapped[int] = mapped_column(ForeignKey("_check_facts.id"), primary_key=True) # noqa: A003
27+
id: Mapped[int] = mapped_column( # noqa: A003 # pylint: disable=E1136
28+
ForeignKey("_check_facts.id"), primary_key=True
29+
)
2830

2931
#: The name of the tool used to build.
30-
test_name: Mapped[str] = mapped_column(String, nullable=False, info={"justification": JustificationType.TEXT})
32+
test_name: Mapped[str] = mapped_column( # pylint: disable=E1136
33+
String, nullable=False, info={"justification": JustificationType.TEXT}
34+
)
3135

3236
__mapper_args__ = {
3337
"polymorphic_identity": "_test_check",

0 commit comments

Comments
 (0)