brainglobe / cellfinder-napari

Efficient cell detection in large images using cellfinder in napari
https://brainglobe.info/documentation/cellfinder/index.html
BSD 3-Clause "New" or "Revised" License
23 stars 6 forks source link

Use standard pre-commit config #150

Closed dstansby closed 1 year ago

dstansby commented 1 year ago

This applies the standard pre-commit-config.yaml file from https://github.com/SainsburyWellcomeCentre/python-cookiecutter, and fixes files as needed for this new config.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

deprecated-napari-hub-preview-bot[bot] commented 1 year ago

Preview page for your plugin is ready here: https://preview.napari-hub.org/brainglobe/cellfinder-napari/150 Created: 2023-02-07T13:41:47.635931

codecov[bot] commented 1 year ago

Codecov Report

Base: 95.42% // Head: 95.35% // Decreases project coverage by -0.07% :warning:

Coverage data is based on head (626d540) compared to base (11e4c8a). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #150 +/- ## ========================================== - Coverage 95.42% 95.35% -0.07% ========================================== Files 17 17 Lines 809 797 -12 ========================================== - Hits 772 760 -12 Misses 37 37 ``` | [Impacted Files](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe) | Coverage Δ | | |---|---|---| | [cellfinder\_napari/tests/test\_curation.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvdGVzdHMvdGVzdF9jdXJhdGlvbi5weQ==) | `100.00% <ø> (ø)` | | | [cellfinder\_napari/tests/test\_detection.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvdGVzdHMvdGVzdF9kZXRlY3Rpb24ucHk=) | `100.00% <ø> (ø)` | | | [cellfinder\_napari/tests/test\_training.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvdGVzdHMvdGVzdF90cmFpbmluZy5weQ==) | `100.00% <ø> (ø)` | | | [cellfinder\_napari/train/train.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvdHJhaW4vdHJhaW4ucHk=) | `91.66% <ø> (-0.44%)` | :arrow_down: | | [cellfinder\_napari/utils.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvdXRpbHMucHk=) | `93.54% <ø> (ø)` | | | [cellfinder\_napari/curation.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvY3VyYXRpb24ucHk=) | `89.87% <100.00%> (ø)` | | | [cellfinder\_napari/detect/detect.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvZGV0ZWN0L2RldGVjdC5weQ==) | `93.44% <100.00%> (ø)` | | | [cellfinder\_napari/detect/detect\_containers.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvZGV0ZWN0L2RldGVjdF9jb250YWluZXJzLnB5) | `100.00% <100.00%> (ø)` | | | [cellfinder\_napari/detect/thread\_worker.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvZGV0ZWN0L3RocmVhZF93b3JrZXIucHk=) | `96.00% <100.00%> (-0.16%)` | :arrow_down: | | [cellfinder\_napari/input\_container.py](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-Y2VsbGZpbmRlcl9uYXBhcmkvaW5wdXRfY29udGFpbmVyLnB5) | `94.73% <100.00%> (ø)` | | | ... and [2 more](https://codecov.io/gh/brainglobe/cellfinder-napari/pull/150?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.