kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
89 stars 30 forks source link

Use `pre-commit` #263

Closed qin-yu closed 1 month ago

qin-yu commented 1 month ago

Use pre-commit

For contributors

You don't have to do anything because the CI fixes minor problems in new commits. But to check what might happen by yourself:

Either:

Or:

qin-yu commented 1 month ago

pre-commit.ci shall be installed after merging this PR.

qin-yu commented 1 month ago

This PR includes substantial changes and improvements. Given the current unavailability of the other maintainers, I will proceed with merging it and start the next PR.

qin-yu commented 1 month ago

PS: Using co-author on the great reformatting commit caused GitHub to triple the addition/deletion count in stats.