Ubuntu – Why does pdoc in pre-commit pass locally, but fail with "files were modified by this hook" in GitHub action?
Pdoc is invoked last in my pre-commit hook, it builds documentation to /docs, which is included in my repository. Files in /docs are excluded from the pre-commit hook, so the formatting hooks don't touch them. I observe the following pattern:…