Skip to content

Commit

Permalink
Make pyright happy
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Oct 2, 2024
1 parent bd24559 commit a4c44ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/system_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ def patch_lmpp(zoom, xsize, ysize):
unpatched_method(zoom, 1024, 768)

# Grid snapshots
oav.grid_snapshot.x_size.sim_put(1024)
oav.grid_snapshot.y_size.sim_put(768)
oav.grid_snapshot.x_size.sim_put(1024) # type: ignore
oav.grid_snapshot.y_size.sim_put(768) # type: ignore
oav.grid_snapshot.top_left_x.set(50)
oav.grid_snapshot.top_left_y.set(100)
oav.grid_snapshot.box_width.set(0.1 * 1000 / 1.25) # size in pixels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_current_datacollection_comment(Session: Callable, dcid: int) -> str:


def get_datacollections(Session: Callable, dcg_id: int) -> Sequence[int]:
with Session.begin() as session:
with Session.begin() as session: # type: ignore
query = session.query(DataCollection.dataCollectionId).filter(
DataCollection.dataCollectionGroupId == dcg_id
)
Expand Down

0 comments on commit a4c44ca

Please sign in to comment.