Black for actinia
anikaweinmann opened this issue · 5 comments
We want to use black
to beautify actinia code.
We want to use some black in Workflows, so that workflows fails if the code is not black conform.
Before the workflow is active we need to do black about the whole code.
FYI, here the related GRASS GIS black workflow:
https://github.com/OSGeo/grass/blob/main/.github/workflows/black.yml
actinia-core now has a black GHA worflow: https://github.com/mundialis/actinia_core/blob/main/.github/workflows/black.yml
For the plugins it has to be added:
- actinia_statistic_plugin
- actinia-stac-plugin ? It uses a mega-linter @mmacata is then black still needed?
- actinia-module-plugin
- actinia-api
- actinia-parallel-plugin
- actinia-example-plugin
- actinia_satellite_plugin
- actinia-tiling-plugin
- actinia-metadata-plugin
- actinia-gdi
Allready done for:
From my point of view, megalinter is also fine, but I don't know if this would also change files like black does. I would suggest to not add black there and see how we get along with megalinter!?
Linting in GHA and pre-commits should be added for actinia-core and Plugins; see https://github.com/mundialis/github-workflows