Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to bioimageio.spec=0.5 #346

Merged
merged 258 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
9b3549f
Merge remote-tracking branch 'origin/main' into check_sha
FynnBe May 22, 2023
5700847
account for testing already loaded resources
FynnBe May 23, 2023
338f201
bioimage.io name refactoring
FynnBe Aug 16, 2023
70669fb
update mamba-org/setup-micromamba action
FynnBe Aug 16, 2023
e2b4b71
specify __all__
FynnBe Aug 16, 2023
57179fd
WIP
FynnBe Aug 16, 2023
6a6456a
ignore pooch stubs for now
FynnBe Aug 22, 2023
c6c8f5c
update project setup
FynnBe Aug 23, 2023
7c8adfd
add py.typed to indicate that the package is fully typed
FynnBe Aug 24, 2023
1e92a4f
WIP
FynnBe Aug 24, 2023
3083204
add install script draft
FynnBe Aug 24, 2023
64910d9
update io funcs
FynnBe Aug 30, 2023
e463a74
improve tests with type annotations
FynnBe Aug 30, 2023
d4e382b
improve type names
FynnBe Aug 30, 2023
d6c63e2
black also for notebooks
FynnBe Sep 7, 2023
3483087
update io funcs
FynnBe Sep 7, 2023
07cdcf9
WIP update Processing
FynnBe Sep 7, 2023
c1caee1
WIP add new example notebooks
FynnBe Sep 7, 2023
bfe28e6
update isort settings
FynnBe Sep 7, 2023
0f0d6ae
crlf to lf
FynnBe Sep 7, 2023
dda9062
WIP clean up
FynnBe Sep 8, 2023
5c6bece
add show_diff.py
FynnBe Sep 8, 2023
2cc2e13
add dev env
FynnBe Sep 8, 2023
102425c
improve io funcs
FynnBe Sep 8, 2023
f4d8465
add validate
FynnBe Sep 19, 2023
9c10e6d
WIP update Processings
FynnBe Sep 26, 2023
d5d6756
show download progressbar if not in CI
FynnBe Sep 26, 2023
390cd1a
allow to set User-Agent via env var
FynnBe Sep 26, 2023
f619b46
WIP update Processing and ModelAdapter
FynnBe Oct 4, 2023
e258d66
update onnx model adapter
FynnBe Oct 4, 2023
4fe9894
WIP update for spec changes
FynnBe Oct 11, 2023
77e6de0
update examples
FynnBe Oct 11, 2023
da36bf4
refactor and improve utils
FynnBe Oct 11, 2023
af369ee
expose LocalFile and LocalRdf
FynnBe Oct 11, 2023
c590e8c
simplify "no sha" case
FynnBe Oct 11, 2023
ca41439
update model adapters
FynnBe Oct 11, 2023
8ef56d1
WIP update measure groups
FynnBe Oct 11, 2023
2c2c5fd
WIP update prediction pipeline
FynnBe Oct 11, 2023
f37e93d
WIP update model adapters
FynnBe Oct 19, 2023
e21b9ed
update model adapters
FynnBe Oct 24, 2023
226407f
update pytorch model adapter
FynnBe Oct 25, 2023
62e8443
add build_model_spec
FynnBe Oct 25, 2023
3397d83
WIP update add_weights
FynnBe Oct 25, 2023
6d5e66c
WIP update imports
FynnBe Oct 25, 2023
28f9a63
add write_package_as_folder
FynnBe Oct 25, 2023
fbfbf4b
WIP update prediction pipeline
FynnBe Oct 25, 2023
16f7fef
WIP update processing
FynnBe Oct 25, 2023
34fde4c
use common hashkwargs
FynnBe Oct 25, 2023
4949558
WIP update existing build_model
FynnBe Oct 25, 2023
a1b699e
draft SpecBuilder and SpecGuesser
FynnBe Oct 27, 2023
d5c682d
WIP unfreeze aftermath
FynnBe Nov 7, 2023
2d5118e
start moving io to spec
FynnBe Nov 14, 2023
9fa38a9
Merge branch 'main' into spec_v0_5
FynnBe Nov 14, 2023
a240d49
remove print
FynnBe Nov 14, 2023
02dba8d
Merge branch 'main' into spec_v0_5
FynnBe Nov 14, 2023
30bbaaf
remove SourceValidator
FynnBe Nov 15, 2023
6ecc340
Merge remote-tracking branch 'origin/main' into spec_v0_5
FynnBe Nov 15, 2023
a5ccb87
WIP start cleaning up keras->tf converter
FynnBe Nov 15, 2023
3e57ef4
WIP various updates
FynnBe Nov 20, 2023
6c9bf0f
WIP add model_utils
FynnBe Nov 20, 2023
26c6f58
Fixes type-checking with spec v0.5 in torchscript model adapter
Tomaz-Vieira Nov 20, 2023
32e53f5
Fixes some typing issues in tensorflow adapter with spec v0.5
Tomaz-Vieira Nov 20, 2023
14be1e7
Merge pull request #363 from Tomaz-Vieira/spec_v0_5_pytorch_adapter_t…
FynnBe Nov 20, 2023
d6d0fea
Merge pull request #364 from Tomaz-Vieira/spec_v0_5_tensorflow_adapte…
FynnBe Nov 20, 2023
f7469cb
moved demo notebook to spec
FynnBe Nov 22, 2023
fd8b5ca
Fixes typing in pytorch model adapter
Tomaz-Vieira Nov 22, 2023
2defed2
Fixes load_model pytorch helper
Tomaz-Vieira Nov 22, 2023
e2da2c4
Mostly fixes typing in torchscript converter. Missing impl for v0_5
Tomaz-Vieira Nov 22, 2023
02bfedb
Adds more convertion logic in torchcript converter. Fixes test typing
Tomaz-Vieira Nov 23, 2023
ce3e014
Fixes typing in onnx conversion function
Tomaz-Vieira Nov 23, 2023
7a94ce9
WIP restructure API
FynnBe Nov 24, 2023
02f5299
Merge branch 'spec_v0_5' into spec_v0_5__fixing_pytorch_conversion
Tomaz-Vieira Nov 24, 2023
46c840d
Fixes typing issues in core.io
Tomaz-Vieira Nov 24, 2023
8766023
Fixes conftest
Tomaz-Vieira Nov 24, 2023
f2c3f82
Merge pull request #367 from Tomaz-Vieira/spec_v0_5__fix_conftest
FynnBe Nov 24, 2023
412255a
Merge pull request #366 from Tomaz-Vieira/spec_v0_5__fix_core_io
FynnBe Nov 24, 2023
d7c196e
Merge pull request #365 from Tomaz-Vieira/spec_v0_5__fixing_pytorch_c…
FynnBe Nov 24, 2023
e3b253b
remove build_model funcs
FynnBe Nov 27, 2023
a227388
add numpy_load helper
FynnBe Nov 27, 2023
6ea6c85
WIP measures
FynnBe Nov 28, 2023
392a73a
WIP overhaul Measure and Procs (as Ops)
FynnBe Dec 14, 2023
324be48
remove add_weights
FynnBe Dec 15, 2023
f1af46f
improve typing
FynnBe Dec 23, 2023
ca02570
ignore reportUnnecessaryIsInstance
FynnBe Feb 12, 2024
ce80896
WIP update adapters
FynnBe Feb 13, 2024
8704abd
switch to ruyaml
FynnBe Feb 19, 2024
8797bb0
improve vscode setup
FynnBe Feb 21, 2024
5fddcb7
WIP update to new spec
FynnBe Feb 21, 2024
fcb6bcd
add test_description alias
FynnBe Feb 21, 2024
154a7d6
update version and spec pinning
FynnBe Feb 21, 2024
a949376
WIP cleanup utils
FynnBe Feb 21, 2024
546df66
fix errors on import and more utils cleanup
FynnBe Feb 21, 2024
462b4fe
import additional deps more carefully
FynnBe Feb 21, 2024
d7eabfb
guard main
FynnBe Feb 21, 2024
b9f67b2
update show_diff.py
FynnBe Feb 21, 2024
ce0a833
fix skipping of test_bioimageio_spec_version
FynnBe Feb 21, 2024
2fc6f3a
load_resource_description -> load_description
FynnBe Feb 21, 2024
371a1fc
avoid pytest.mark.skipif(pytest.X ...
FynnBe Feb 21, 2024
3a7875b
use test_description in build_description_and_test
FynnBe Feb 21, 2024
9fd1248
WIP update tests
FynnBe Feb 26, 2024
15d0cdd
add AddKnownDatasetStats and UpdateStats
FynnBe Feb 27, 2024
81531d8
udpate tests and cli
FynnBe Feb 27, 2024
d50d68a
add docstrings and make stuff private
FynnBe Feb 27, 2024
2285343
improve docs for pdoc
FynnBe Feb 28, 2024
40aae10
move _get_complement_axis to spec
FynnBe Feb 28, 2024
569666b
parallel pytests with pytest-xdist
FynnBe Feb 28, 2024
6f1c58c
WIP _test_model_inference_with_parametrized_inputs
FynnBe Mar 6, 2024
92d4373
add model inference tests for various test input sizes
FynnBe Mar 7, 2024
930f954
WIP align with current spec
FynnBe Mar 11, 2024
baa563f
update release.yml
FynnBe Mar 11, 2024
676a3e7
update example rdf urls
FynnBe Mar 11, 2024
613e154
add pdocs docs
FynnBe Mar 11, 2024
76f5553
update release.yml
FynnBe Mar 12, 2024
1a5c50b
mark that model_creatioin.ipynb needs an update
FynnBe Mar 12, 2024
0555bf5
update image helpers
FynnBe Mar 12, 2024
ed2bbcb
update conda recipe
FynnBe Mar 12, 2024
0116a5d
use common.Tensor
FynnBe Mar 12, 2024
70be1b6
update model_packages fixture for pytest-xdist
FynnBe Mar 12, 2024
3b76d89
black line-length 88
FynnBe Mar 12, 2024
8ef28ff
update pre-commit config
FynnBe Mar 12, 2024
b297892
houskeeping
FynnBe Mar 12, 2024
5345346
update _import_callable.py
FynnBe Mar 12, 2024
63eaae0
avoid implicit string concatenation
FynnBe Mar 12, 2024
185b7e8
properly export __version__
FynnBe Mar 12, 2024
92178e4
update dev envs
FynnBe Mar 12, 2024
ff7cca3
remove unsupported tf-legacy env
FynnBe Mar 12, 2024
e18b1a6
fix tests
FynnBe Mar 12, 2024
d0a6cdc
expose input_ids and output_ids
FynnBe Mar 13, 2024
d36fff0
updates around AxisId
FynnBe Mar 13, 2024
808f23f
add test_stat_calculators.py
FynnBe Mar 13, 2024
ccc84eb
fix some tests
FynnBe Mar 13, 2024
f798344
improve tests
FynnBe Mar 15, 2024
7d02242
avoid pytest checking example use in ModelAdapter docstring
FynnBe Mar 18, 2024
183cc0e
some refactoring and improve interprete_array
FynnBe Mar 18, 2024
4866fb4
update model inference testing
FynnBe Mar 20, 2024
4a5c046
remove outdated environment variable docs
FynnBe Mar 20, 2024
c0e25b8
add test_loading_description_multiple_times
FynnBe Mar 20, 2024
de6435f
allow for optional tensors
FynnBe Mar 20, 2024
789ba05
Fix optional inputs for pytorch
constantinpape Mar 21, 2024
84382dc
Merge pull request #370 from bioimage-io/fix-optional
FynnBe Mar 21, 2024
9ba69ae
fix pyright issues in model_adapters
FynnBe Mar 21, 2024
5299d23
small fixes and improve typing
FynnBe Mar 21, 2024
7a3c64f
try post-cleanup: 'all'
FynnBe Mar 21, 2024
9b15fea
disable parallel pytests
FynnBe Mar 21, 2024
564f581
bump black version
FynnBe Mar 21, 2024
e545a7d
fix python version matrix
FynnBe Mar 21, 2024
966a085
set keras backend
FynnBe Mar 22, 2024
33d1d11
fix normalize_axes
FynnBe Mar 22, 2024
7dda729
update setup.py and dev envs
FynnBe Mar 22, 2024
3931d68
keras needs py >=3.9
FynnBe Mar 22, 2024
6aea298
remove --no-deps from env yamls
FynnBe Mar 22, 2024
f3fe013
fix setup.py
FynnBe Mar 22, 2024
1c11aeb
fix: set ns only for parameterized sizes
FynnBe Mar 23, 2024
37f20ce
raise more expressive errors
FynnBe Mar 23, 2024
020f018
fix conftest
FynnBe Mar 23, 2024
50184d1
report default weight_format_priority_order in error instead of None
FynnBe Mar 23, 2024
71bb7dd
add ensure dtype ops for v0_4 procs
FynnBe Mar 23, 2024
a1b2073
fix hashable_target_size
FynnBe Mar 23, 2024
0c26f29
do not call deprecated load
FynnBe Mar 23, 2024
643300d
improve _test_model_inference_parametrized
FynnBe Mar 23, 2024
cd06342
fix pad_to
FynnBe Mar 23, 2024
49dd494
install crick only in env-py38
FynnBe Mar 23, 2024
df30282
add jupyter(-black) dependencies
FynnBe Mar 23, 2024
6be3476
fix ci envs
FynnBe Mar 23, 2024
2230bf0
ruff needs python<3.11
FynnBe Mar 23, 2024
0270ede
black notebooks
FynnBe Mar 23, 2024
2d9d153
add missing shape_change model source
FynnBe Mar 24, 2024
b4dbb1a
fix shape_change source
FynnBe Mar 24, 2024
5de1aa8
improve model adapter creation error message
FynnBe Mar 24, 2024
fc39639
WIP add Tile
FynnBe Mar 24, 2024
27332c0
WIP improve Tile
FynnBe Mar 27, 2024
075b902
customize pdoc dev docs
FynnBe Mar 27, 2024
636861a
WIP axis, tensor, tile, sample
FynnBe Mar 28, 2024
4fa24ce
WIP use Tensor
FynnBe Mar 29, 2024
96cc0ef
make Tensor numpy arraylike
FynnBe Mar 30, 2024
9daffe9
percentile`s n -> q and "use tensor"
FynnBe Mar 30, 2024
936afce
Merge pull request #372 from bioimage-io/tiles
FynnBe Mar 30, 2024
860ff25
fix imports in model_adapters and update tests
FynnBe Mar 30, 2024
987f5ed
add get_sample_axes
FynnBe Mar 31, 2024
c630817
simplify PredictionPipeline
FynnBe Mar 31, 2024
946fa50
WIP block
FynnBe Apr 2, 2024
973018b
Merge branch 'main' into spec_v0_5
FynnBe Apr 3, 2024
9e806c7
WIP sample_block
FynnBe Apr 5, 2024
d7e81a7
WIP PredictionPipeline done
FynnBe Apr 8, 2024
f42141d
add test_digest_spec
FynnBe Apr 8, 2024
f019768
rename some util funcs
FynnBe Apr 9, 2024
acfab41
add BlockedOperator
FynnBe Apr 9, 2024
fac789f
fix some tests
FynnBe Apr 9, 2024
7419eeb
fix some more tests
FynnBe Apr 9, 2024
25d8891
use quantile in names (not percentile)
FynnBe Apr 9, 2024
48df1c6
WIP almost all tests fixed
FynnBe Apr 9, 2024
2296d5e
add as_single_block
FynnBe Apr 9, 2024
5d94e52
udpate create_sample_for_model
FynnBe Apr 9, 2024
768a835
update docstring
FynnBe Apr 9, 2024
89cfeda
fix create_sample_for_model
FynnBe Apr 9, 2024
a3f1f9a
fix as_single_block
FynnBe Apr 9, 2024
ed14773
fix BlockMeta
FynnBe Apr 9, 2024
8234d31
fix BlockMeta again
FynnBe Apr 9, 2024
20b8bce
Treat halo correctly for single block
constantinpape Apr 9, 2024
eb13f80
fix _SimpleOperator
FynnBe Apr 9, 2024
8696ffc
add predict_sample_without_blocking
FynnBe Apr 9, 2024
374bb52
rename block_number -> block_index
FynnBe Apr 9, 2024
4c83386
some small fixes
FynnBe Apr 10, 2024
292e38d
use cached_property in BlockMeta
FynnBe Apr 10, 2024
250bee6
add ruff to dev envs
FynnBe Apr 10, 2024
3d17f00
Merge pull request #374 from bioimage-io/add_ruff
FynnBe Apr 10, 2024
9217276
make prediction pipeline easier to debug
FynnBe Apr 11, 2024
38b6cb0
fix BlockMeta.padding
FynnBe Apr 11, 2024
aa60cd6
scale halo in SampleBlockMeta.get_transformed
FynnBe Apr 11, 2024
ed3453e
clean up nested Frozen instances
FynnBe Apr 11, 2024
d45040e
fix Block.sample_shape
FynnBe Apr 11, 2024
fdf4bed
be strict about halo scaling
FynnBe Apr 12, 2024
2413067
set sample_shape for _SimpleOperator output block
FynnBe Apr 12, 2024
a8d6591
update some tests
FynnBe Apr 12, 2024
124660c
rename get_sample_output_shape -> get_output_shape
FynnBe Apr 12, 2024
939e0ba
fix get_member_halo
FynnBe Apr 12, 2024
417fe42
remove Sample.__post_init__
FynnBe Apr 12, 2024
866a868
add sample_id to SampleBlockBase
FynnBe Apr 12, 2024
31d5928
reimpl predict_sample_without_blocking
FynnBe Apr 12, 2024
ca61ca1
update create_sample_for_model
FynnBe Apr 12, 2024
216910a
update load_sample_for_model
FynnBe Apr 12, 2024
c637c8e
make stat and id non-optional
FynnBe Apr 12, 2024
f88f293
add TODO
FynnBe Apr 12, 2024
9cd039e
clean up conftest.py
FynnBe Apr 12, 2024
60a1c1b
fix _test_model_inference_parametrized
FynnBe Apr 12, 2024
55519c9
fix ONNXModelAdapter
FynnBe Apr 12, 2024
1b65ca8
update onnx model adapter
FynnBe Apr 12, 2024
8bc43f7
Frozen = MappingProxyType
FynnBe Apr 13, 2024
f0f0a94
use pytest-xdist
FynnBe Apr 15, 2024
bc95dfe
fix CLI tests
FynnBe Apr 15, 2024
a1ce637
add 'weight-format' option alias
FynnBe Apr 16, 2024
1f27b50
avoid ruff and py3.12 issues
FynnBe Apr 16, 2024
63ba4fe
typer -> fire
FynnBe Apr 16, 2024
5e9d37a
add test_save_bioimageio_package
FynnBe Apr 16, 2024
c09cc00
add rich to conda envs
FynnBe Apr 16, 2024
8139d27
lower keras pins for tf envs
FynnBe Apr 16, 2024
e0a73a4
update entry_points
FynnBe Apr 16, 2024
7dfde5c
update test_save_bioimageio_package
FynnBe Apr 22, 2024
e9ac975
update env-tf.yaml
FynnBe Apr 22, 2024
748c518
bump spec
FynnBe Apr 22, 2024
1601a05
try micromamba shell
FynnBe Apr 23, 2024
44538d9
use bioimageio.spec form conda for tf tests
FynnBe Apr 23, 2024
edb99b9
fix _internal_output_axes
FynnBe Apr 23, 2024
e41e87f
fix _test_device_management
FynnBe Apr 23, 2024
17e9aa6
bump spec in dev envs
FynnBe Apr 23, 2024
fe45db8
add dot before post1
FynnBe Apr 23, 2024
b966b34
fix keras network call
FynnBe Apr 23, 2024
73063bd
update conda recipe template
FynnBe Apr 23, 2024
2be9913
fix _output_axes
FynnBe Apr 23, 2024
b84d33b
torch is optional dep
FynnBe Apr 23, 2024
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
159 changes: 159 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
name: Test and Deploy bioimageio.core

on:
push:
branches: [ main ]
pull_request:
branches: [ "**" ]

defaults:
run:
shell: micromamba-shell {0}

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "."
jupyter: true
version: "24.3"

test-spec-conda:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Install Conda environment with Micromamba
if: matrix.python-version != '3.8'
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
environment-file: dev/env-wo-python.yaml
create-args: >-
python=${{ matrix.python-version }}
post-cleanup: 'all'
- name: Install py3.8 environment
if: matrix.python-version == '3.8'
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
environment-file: dev/env-py38.yaml
post-cleanup: 'all'
- name: additional setup
run: pip install --no-deps -e .
- name: pytest-spec-conda
run: pytest --disable-pytest-warnings

test-spec-main:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.12']
steps:
- uses: actions/checkout@v4
- name: Install Conda environment with Micromamba
if: matrix.python-version != '3.8'
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
environment-file: dev/env-wo-python.yaml
create-args: >-
python=${{ matrix.python-version }}
post-cleanup: 'all'
- name: Install py3.8 environment
if: matrix.python-version == '3.8'
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
environment-file: dev/env-py38.yaml
post-cleanup: 'all'
- name: additional setup
run: |
conda remove --yes --force bioimageio.spec || true # allow failure for cached env
pip install --no-deps git+https://github.com/bioimage-io/spec-bioimage-io
pip install --no-deps -e .
- name: pytest-spec-main
run: pytest --disable-pytest-warnings

test-tf:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.11']
steps:
- uses: actions/checkout@v4
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
environment-file: dev/env-tf.yaml
condarc: |
channel-priority: flexible
create-args: >-
python=${{ matrix.python-version }}
post-cleanup: 'all'
- name: additional setup
run: pip install --no-deps -e .
- name: pytest-spec-tf
run: pytest --disable-pytest-warnings

conda-build:
runs-on: ubuntu-latest
needs: test-spec-conda
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
environment-name: build-env
condarc: |
channels:
- conda-forge
create-args: |
boa
- name: linux conda build
run: |
conda mambabuild -c conda-forge conda-recipe

docs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install -e .[dev]
- id: get_version
run: python -c 'import bioimageio.core;print(f"version={bioimageio.core.__version__}")' >> $GITHUB_OUTPUT
- name: Generate developer docs
run: |
pdoc \
--logo https://bioimage.io/static/img/bioimage-io-logo.svg \
--logo-link https://bioimage.io/ \
--favicon https://bioimage.io/static/img/bioimage-io-icon-small.svg \
--footer-text 'bioimageio.core ${{steps.get_version.outputs.version}}' \
-o ./dist bioimageio.core
- run: cp README.md ./dist/README.md
- name: Deploy to gh-pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
140 changes: 0 additions & 140 deletions .github/workflows/build.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Check if there is a parent commit
id: check-parent-commit
run: |
echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)"
echo "sha=$(git rev-parse --verify --quiet HEAD^)" >> $GITHUB_OUTPUT

- name: Detect new version
id: check-version
Expand Down
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
build/
dist/
.idea/
*.egg-info/
cache
**/tmp
.tox/
*.egg-info/
*.pyc
**/tmp
build/
cache
dist/
docs/
typings/pooch/
8 changes: 8 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"default": true,
"MD013": {
"line_length": 120
},
"MD033": false,
"MD041": false
}
18 changes: 16 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
repos:
- repo: https://github.com/ambv/black
rev: 23.1.0
rev: 24.2.0
hooks:
- id: black
- id: black-jupyter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
hooks:
- id: ruff
args: [--fix]
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: system
always_run: true
pass_filenames: true
files: ^.*\.py$
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"window.title": "bioimageio.core",
"python.analysis.extraPaths": [
"../spec-bioimage-io",
],
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"test_*.py"
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
}
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include bioimageio/core/VERSION
include README.md
include LICENSE
Loading
Loading