Skip to content

Commit

Permalink
Remove unused 'type: ignore' directives.
Browse files Browse the repository at this point in the history
Quantum's attributes have flopped about a bit lately between 'list' and
'tuple' before settling on 'Sequence'.
  • Loading branch information
TallJimbo committed Jul 5, 2023
1 parent dd9a000 commit 24550ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/lsst/pipe/base/graph/_implDetails.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ def _pruner(
taskClass=node.quantum.taskClass,
dataId=node.quantum.dataId,
initInputs=node.quantum.initInputs,
inputs=helper.inputs, # type: ignore
outputs=helper.outputs, # type: ignore
inputs=helper.inputs,
outputs=helper.outputs,
)
# If the inputs or outputs were adjusted to something different
# than what was supplied by the graph builder, dissassociate
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/pipe/base/graphBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@ def makeQuantum(self, datastore_records: Mapping[str, DatastoreRecordData] | Non
taskClass=self.task.taskDef.taskClass,
dataId=self.dataId,
initInputs=initInputs,
inputs=helper.inputs, # type: ignore
outputs=helper.outputs, # type: ignore
inputs=helper.inputs,
outputs=helper.outputs,
datastore_records=quantum_records,
)

Expand Down

0 comments on commit 24550ee

Please sign in to comment.