Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jul 2, 2023
1 parent 0d5d1e6 commit 5f28b98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 46 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,51 +52,6 @@ jobs:

- uses: codecov/codecov-action@v2

test-aicsimageio:
name: test aicsimageio
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: AllenCellModeling/aicsimageio
submodules: true
- uses: actions/checkout@v3
with:
path: ome-types
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install aicsimageio
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
python -m pip install bioformats_jar
- uses: actions/cache@v3
id: cache
with:
path: aicsimageio/tests/resources
key: ${{ hashFiles('scripts/TEST_RESOURCES_HASH.txt') }}

- name: Download Test Resources
if: steps.cache.outputs.cache-hit != 'true'
run: python scripts/download_test_resources.py --debug

- name: Install ome-types
run: pip install .
working-directory: ome-types

- name: Run Tests
run: |
pytest --color=yes -k "not REMOTE" --ignore test_known_errors_without_cleaning \
aicsimageio/tests/readers/test_ome_tiff_reader.py \
aicsimageio/tests/readers/extra_readers/test_bioformats_reader.py \
aicsimageio/tests/readers/extra_readers/test_ome_zarr_reader.py
deploy:
name: Deploy
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion src/ome_types/_mixins/_instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

class InstrumentMixin:
@property
def light_source_group(self) -> List[LightSource]:
def light_source_group(self) -> List["LightSource"]:
slf = cast("Instrument", self)
return [
*slf.arcs,
Expand Down

0 comments on commit 5f28b98

Please sign in to comment.