Adding black as linter?

If we can find any formatter that formats arrays better, I’d go with that. @jni, I think, prefers cercis, but it also formats arrays weirdly (as per the example in the astropy APE).

I don’t think we need a SKIP on this, just (a) a workable tool and (b) consensus at least among the core team.

1 Like

Fyi

See Apply black to `_hog.py` after previous merge lacking black by lagru · Pull Request #7215 · scikit-image/scikit-image · GitHub.

For a while we’ll probably want to make sure that we merge main (the black commit hook config) into the PR branch before merging.