Open longshuicy opened 9 months ago
We can use pyincore-incubator as an example for setting up black and flake8. If needed, we could make this task just three things:
Later, we could add the github action piece if that makes sense to separate these out.
to do: also write down steps for installing pre-commit
You can probably start from pyincore incubator which has some of this.
Maybe it's time we start to look into black formatter in the next release? https://black.readthedocs.io/en/stable/ Here is an clowder example of using black and github action to check that https://github.com/clowder-framework/clowder2/blob/main/.github/workflows/black.yml Originally posted by @navarroc in https://github.com/IN-CORE/pyincore/issues/476#issuecomment-1912431477