Closed pre-commit-ci[bot] closed 4 weeks ago
@trallard @Carreau AFAICT, the pre-commit CI App and our local pre-commit hooks (run in the CI's lint job) are fighting each other. I don't have sufficient permissions to configure the repo-level app (https://github.com/pydata/pydata-sphinx-theme/settings/installations)
I think the right thing to do is to ignore CIs on this PR and just merge it, and then merge main into e.g. #1850 and hope that the pre-commit CI stops correcting files in a way that makes the lint job fail.
to repro locally the CI lint job failure:
pre-commit clean
tox -re lint
cc @MridulS
I dont' have enough permission either.
My take is what is ran by pre-commit should not be ran in GH action.
From a few exchange iI had today it seem that a few people are frustrateed by tox+gh-action.
the pre-commit CI action is pretty useful for two cases:
But anyway since neither of us have permissions to configure/disable, for now maybe let's merge this and hope that it resolves the fight between the action and the hook. WDYT?
The easiest is to remove the pre-commit from the CI on GH actions. I just left it there since it was already in our CI and it did not seem ppl had much trouble at the time.
Separate I had already asked folks at NUMFOCUS (since the repo is in the PyData org) while talking to them in person recently to grant maintainers of the theme elevated access to the repo as we keep hitting blockers to change configs and the likes so we have had to resource to ping ppl like Andy Terrel. Shall we surface this again perhaps in the projects channel in the NF Slack?
Shall we surface this again perhaps in the projects channel in the NF Slack?
yes please!
cc @jarrodmillman
updates: