pydata / pydata-sphinx-theme

A clean, three-column Sphinx theme with Bootstrap for the PyData community
https://pydata-sphinx-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
560 stars 303 forks source link

DEV - Enable pre-commit ci #1752

Closed trallard closed 3 months ago

trallard commented 3 months ago

This PR adds the configuration needed for https://pre-commit.ci/

[!NOTE] I sent a request to add pre-commit CI, so someone with admin rights will need to approve this

Closes #1718

drammock commented 3 months ago

I sent a request to add pre-commit CI, so someone with admin rights will need to approve this

@12rambau and I are "outside collaborators", it needs to be a "member" of the pydata org

choldgraf commented 3 months ago

I just tried "authorizing" the pre-commit app on GitHub but I got this:

CleanShot 2024-04-02 at 09 03 13@2x

So maybe it needs to be one of this group?

https://github.com/orgs/pydata/people?query=role:owner

choldgraf commented 3 months ago

Could somebody in @pydata/core please enable pre-commit CI in this repository, and/or give the maintainers here the permissions needed to do so?

To do this, go to pre-commit.ci and then follow the same actions as the GIF below (where I'm doing these actions but run into authorization blocks)

CleanShot 2024-04-02 at 09 50 35

aterrel commented 3 months ago

Should be done.