          run: |
            python -m pip install --upgrade pip
            pip install flake8 pylint mypy pytest pytest-mock pytest-xvfb wheel
            pip install -r ./requirements/requirements_${{ matrix.backend }}.txt
        - name: Lint with flake8
          run: |
            # stop the build if there are Python syntax errors or undefined names
 
</s> remove             if self._target:
 </s> add             if self._target is not None: </s> remove         frame = reader.get_next_data()[:, :, ::-1]
 </s> add         frame = reader.get_next_data()[:, :, ::-1]  # type:ignore[index]
          pip install types-attrs types-cryptography types-pyOpenSSL types-PyYAML types-setuptools
          run: |
            python -m pip install --upgrade pip
            pip install flake8 pylint mypy pytest pytest-mock pytest-xvfb wheel
          pip install types-attrs types-cryptography types-pyOpenSSL types-PyYAML types-setuptools
            pip install -r ./requirements/requirements_${{ matrix.backend }}.txt
        - name: Lint with flake8
          run: |
            # stop the build if there are Python syntax errors or undefined names
keep keep add keep keep keep keep
 tests:
  - unit test: tools.alignments.media
  - Add mypy test
  - Typing fixes 
.github/workflows/pytest.yml