Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,29 +74,6 @@ jobs:
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

test-widget:
name: test-widget
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
backend: ["PyQt5", "PySide6", "PyQt6"]
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: "3.11"
- uses: tlambert03/setup-qt-libs@v1
- name: Install
run: |
uv sync --group test-qt
uv pip install "${{ matrix.backend }}"
- name: Test
uses: aganders3/headless-gui@v2
with:
run: uv run --no-sync pytest tests/test_widget.py

test-build:
name: Build
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
rev: v1.18.2
hooks:
- id: mypy
exclude: ^tests|^docs|_napari_plugin|widgets
exclude: ^tests|^docs
additional_dependencies:
- pydantic>=2.10
- xsdata>=24.4
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ conda install -c conda-forge ome-types
pip install git+https://github.com/imaging-formats/ome-types.git
```

### Qt widget and napari plugin

To install the Qt widget and napari plugin, install `ome-types-widget`
along side `ome-types` in any of the above approaches.

## Usage

### convert an XML string or filepath into an instance of `ome_types.model.OME`
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ test = [
"xmlschema >=2.3.0,<2.5; python_version >= '3.12'",
"xsdata[cli] >=24.4",
]
test-qt = [{ include-group = 'test' }, "qtpy >=2.4.0", "pytest-qt >=4.4.0"]
docs = ["mkdocs-material >=9.0.0", "mkdocstrings-python >=1.0.0"]
dev = [
{ include-group = "test" },
Expand Down Expand Up @@ -226,7 +225,6 @@ omit = [
"src/ome_types/_autogenerated/*",
"/private/var/folders/*",
"*/_vendor/*",
"src/ome_types/widget.py",
]

[tool.typos.default]
Expand Down
11 changes: 0 additions & 11 deletions src/ome_types/napari.yaml

This file was deleted.

193 changes: 0 additions & 193 deletions src/ome_types/widget.py

This file was deleted.

12 changes: 0 additions & 12 deletions tests/test_widget.py

This file was deleted.

Loading