Skip to content

Commit

Permalink
ignore warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwutk committed Feb 25, 2024
1 parent 8184de3 commit d24b287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
shell: micromamba-shell {0}
run: |
pytest --collect-only -qq tests/workflow
pytest --collect-only -q tests/workflow | head -n -2 | wc -l
pytest --collect-only -q -W ignore::Warning tests/workflow | head -n -2 | wc -l
env:
AP_PORT: 25440
AP_HOST: localhost
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
shell: micromamba-shell {0}
run: |
pytest --collect-only -qq tests/video_processor
pytest --collect-only -q tests/video_processor | head -n -2 | wc -l
pytest --collect-only -q -W ignore::Warning tests/video_processor | head -n -2 | wc -l
env:
AP_PORT: 25440
AP_HOST: localhost
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
shell: micromamba-shell {0}
run: |
pytest --collect-only -qq tests/engine tests/interface
pytest --collect-only -q tests/engine tests/interface | head -n -2 | wc -l
pytest --collect-only -q -W ignore::Warning tests/engine tests/interface | head -n -2 | wc -l
env:
AP_PORT: 25440
AP_PORT_ROAD_1: 25441
Expand Down
2 changes: 1 addition & 1 deletion spatialyze/video_processor/utils/insert_trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def insert_trajectory(
) = trajectory

prevPoint: Float3 | None = None
st, en = min(ids), max(ids)
st, en = ids[0], ids[-1]
tuples: list[PointTuple[Float3] | None] = [None for _ in range(st, en + 1)]

P = TypeVar("P", Float3, Point)
Expand Down

0 comments on commit d24b287

Please sign in to comment.