diff --git a/AGENTS.md b/AGENTS.md index fd712fed0..dfd1a4fb0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,7 +14,7 @@ make test # All tests python -m pytest tests/some_file.py # Individual file python -m pytest -k "substring" -# 4. Lint before commiting +# 4. Lint before committing make lint diff --git a/av/sidedata/sidedata.py b/av/sidedata/sidedata.py index 443b7bbb8..12eff435c 100644 --- a/av/sidedata/sidedata.py +++ b/av/sidedata/sidedata.py @@ -98,7 +98,7 @@ def get_display_rotation(frame: Frame) -> cython.int: class SideData(Buffer): def __init__(self, sentinel, frame: Frame, index: cython.int): if sentinel is not _cinit_bypass_sentinel: - raise RuntimeError("cannot manually instatiate SideData") + raise RuntimeError("cannot manually instantiate SideData") self.frame = frame self.ptr = frame.ptr.side_data[index] self.metadata = wrap_dictionary(self.ptr.metadata) diff --git a/tests/test_seek.py b/tests/test_seek.py index ac28f6580..1ba0bfa12 100644 --- a/tests/test_seek.py +++ b/tests/test_seek.py @@ -69,7 +69,7 @@ def test_seek_end(self) -> None: for packet in container.demux(): middle_packet_count += 1 - # you can't really seek to to end but you can to the last keyframe + # you can't really seek to the end but you can to the last keyframe container.seek(container.duration) seek_packet_count = 0