napari / cookiecutter-napari-plugin

Cookiecutter for napari plugins
BSD 3-Clause "New" or "Revised" License
69 stars 41 forks source link

Update formating to pass pre-commits checks #119

Closed Czaki closed 2 years ago

Czaki commented 2 years ago

In this PR I reformat cookiecutter template for plugins to pass* pre-commit run.

The current output of the cookiecutter fails pre-commit checks.

Especially isort removes all import from __init__ file because of lack of __all__ entry.

Code from this PR pass almost tall pre-commit checks. The only exception is setup-cfg-fmt because it will remove comments that I think may be important for a new user.