Code style - beeldengeluid/dane-example-worker GitHub Wiki

.flake8

Once you start adding code within .py files and have configured GitHub Actions, copy .flake8 from this repo for custom linting settings to be applied instead of the default ones, otherwise the pipeline will fail and there will be many linting errors present.

To address linting issues, check the failed action that was executed on GitHub and track the lines + columns where errors (E***) occur (warnings (W***) can be ignored, but it would be nice to address those too).

Black

To check why Black fails the pipeline, run poetry run black . --diff to see what changes you need to do.