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 example plugin for changes in napari/master, add CI #2

Merged
merged 6 commits into from Mar 13, 2020
Merged

Update example plugin for changes in napari/master, add CI #2

merged 6 commits into from Mar 13, 2020

Conversation

tlambert03
Copy link
Contributor

This PR updates the example in napari_{{cookiecutter.module_name}}.py for napari/napari#937

Specifically: I removed all napari imports (which is probably best practice), instead choosing to import the @hook_implementation marker from pluggy and typings from typing.

Though the focus of this cookiecutter is more on package structure (as opposed to reader plugin implementations), I also added many more comments on how to implement an example reader plugin. When we eventually have other hook specifications, we can revisit the "example" we set in napari_{{cookiecutter.module_name}}.py

@tlambert03 tlambert03 changed the title Update example plugin for changes in napari/master Update example plugin for changes in napari/master, add CI Mar 13, 2020
@tlambert03 tlambert03 merged commit 0fa0a77 into napari:master Mar 13, 2020
@tlambert03 tlambert03 deleted the update-imports branch March 13, 2020 17:41
Czaki added a commit that referenced this pull request Apr 8, 2024
* introduce shorter timeout in test.yml

* add information on CI timout to README.md (#2)

add information on CI timeout to README.md

* undo wrong change in test.yml

* include short timeout for GH actions

this avoids using large amounts of CI time when playing with a plugin draft.

* Update .github/workflows/test.yml

* Update {{cookiecutter.plugin_name}}/.github/workflows/test_and_deploy.yml

* fix additional enter

---------

Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant