Skip to content

use npe2 ConfigurationContribution for settings, with fallback - #71

Open
TimMonko wants to merge 10 commits into
ndev-kit:mainfrom
TimMonko:enh/configcontrib
Open

use npe2 ConfigurationContribution for settings, with fallback#71
TimMonko wants to merge 10 commits into
ndev-kit:mainfrom
TimMonko:enh/configcontrib

Conversation

@TimMonko

@TimMonko TimMonko commented Aug 7, 2026

Copy link
Copy Markdown
Member

References and relevant issues

napari/napari#9308
napari/npe2#502

Description

This PR demonstrates using napari/npe2's configuration in the napari.yaml manifest for settings management and ripping out ndev-settings.

Unfortunately, it's not quite a "drop-in" PR because I don't want to put a lower pin on napari. Regardless, I need a way to always be looking at napari.yaml (and not ndev-settings.yaml) for settigns, so this PR does consolidate to using a fallback in order to drop ndev-settings. Otherwise it would be really complicated to maintain both ndev-settings and napari config pathways.

Importantly, I used this PR to understand for myself if everything was working and make the documentation (napari/npe2#502).

@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/ndevio/widgets/_utilities_container.py 83.33% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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