Skip to content

Commit 5a1d1d7

Browse files
committed
linting
1 parent 6bb0457 commit 5a1d1d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/infrahub/core/migrations/graph/m020_duplicate_edges.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class DeleteDuplicateHasValueEdgesQuery(Query):
1919
type = QueryType.WRITE
2020
insert_return = False
2121

22-
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None:
22+
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
2323
query = """
2424
// -------------------
2525
// find Attribute nodes with multiple identical edges to AttributeValue nodes with the same value
@@ -82,7 +82,7 @@ class DeleteDuplicateBooleanEdgesQuery(Query):
8282
insert_return = False
8383
edge_type: DatabaseEdgeType | None = None
8484

85-
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None:
85+
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
8686
if not self.edge_type:
8787
raise RuntimeError("edge_type is required for this query")
8888
query = """
@@ -155,6 +155,6 @@ async def execute(self, db: InfrahubDatabase) -> MigrationResult:
155155
# skip the transaction b/c it will run out of memory on a large database
156156
return await self.do_execute(db=db)
157157

158-
async def validate_migration(self, db: InfrahubDatabase) -> MigrationResult:
158+
async def validate_migration(self, db: InfrahubDatabase) -> MigrationResult: # noqa: ARG002
159159
result = MigrationResult()
160160
return result

0 commit comments

Comments
 (0)