File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
tests/slsa_analyzer/checks Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments