Most tools that are used in this repo have a check and a fix option.
You can run the check/lint option for zpretty with:
docker run --rm -v "${PWD}":/github/workspace plone/code-quality:latest check zpretty src
How are we supposed to run the fix command? Can the docker container access and change the fs?
docker run --rm -v "${PWD}":/github/workspace plone/code-quality:latest check zpretty --inplace src
does not work.
If I'd install zpretty locally and run it, I would risk to use a different version locally that would do a different formatting than the one I have on CI.
Most tools that are used in this repo have a check and a fix option.
You can run the check/lint option for zpretty with:
How are we supposed to run the fix command? Can the docker container access and change the fs?
does not work.
If I'd install zpretty locally and run it, I would risk to use a different version locally that would do a different formatting than the one I have on CI.