diff --git a/.github/workflows/omero_plugin.yml b/.github/workflows/omero_plugin.yml index df64496..5c961df 100644 --- a/.github/workflows/omero_plugin.yml +++ b/.github/workflows/omero_plugin.yml @@ -22,8 +22,9 @@ jobs: runs-on: ubuntu-latest env: STAGE: cli + PLUGIN: rdf steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Checkout omero-test-infra uses: actions/checkout@master with: diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 0838377..59c70be 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -7,14 +7,16 @@ jobs: name: Build and publish Python distribution to PyPI runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.9' - name: Build a binary wheel and a source tarball run: | python -mpip install setuptools build wheel python -m build - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.3.0 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: password: ${{ secrets.PYPI_PASSWORD }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c831db6..fc38234 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,17 +1,6 @@ --- repos: - - repo: https://github.com/asottile/seed-isort-config - rev: v2.2.0 - hooks: - - id: seed-isort-config - - - repo: https://github.com/PyCQA/isort - rev: 5.10.1 - hooks: - - id: isort - args: ["--profile", "black"] - - repo: https://github.com/psf/black rev: 22.12.0 hooks: diff --git a/README.rst b/README.rst index 7d934f7..3503fab 100644 --- a/README.rst +++ b/README.rst @@ -1,11 +1,11 @@ -.. image:: https://github.com/german-bioimaging/omero-rdf/workflows/OMERO/badge.svg - :target: https://github.com/german-bioimaging/omero-rdf +.. image:: https://github.com/German-BioImaging/omero-rdf/workflows/OMERO/badge.svg + :target: https://github.com/german-bioimaging/omero-rdf/actions .. image:: https://badge.fury.io/py/omero-rdf.svg :target: https://badge.fury.io/py/omero-rdf omero-rdf -================================== +========= A plugin for exporting rdf from OMERO diff --git a/src/omero_rdf/__init__.py b/src/omero_rdf/__init__.py index a788716..7364d01 100644 --- a/src/omero_rdf/__init__.py +++ b/src/omero_rdf/__init__.py @@ -376,7 +376,7 @@ def descend( """ if isinstance(target, list): - return([self.descend(gateway, t, handler) for t in target]) + return [self.descend(gateway, t, handler) for t in target] elif isinstance(target, Screen): scr = self._lookup(gateway, "Screen", target.id)