Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre-commit config and autofix CI #12

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

lysnikolaou
Copy link
Contributor

  • Adds a pre-commit config and a Github action to autofix using pre-commit. This has been working well in practice in our other repo free-threading-compatibility.
  • Adds tox and pre-commit as dev dependencies to be able to run everything without needing to install anything else.
  • Removes ruff from the tox envs that run in the Github action since it'll run as part of the pre-commit CI.

Again, feel free to say no if it's too much.

- Adds a `pre-commit` config and a Github action to autofix using
  pre-commit. This has been working well in practice in our other repo
  `free-threading-compatibility`.
- Adds `tox` and `pre-commit` as dev dependencies to be able to run
  everything without needing to install anything else.
- Removes `ruff` from the tox envs that run in the Github action since
  it'll run as part of the pre-commit CI.

Again, feel free to say no if it's too much.
@lysnikolaou
Copy link
Contributor Author

Note: If we decide to go with it, we need to change the pre-commit ci lite app's permissions to include this repo.

@andfoy andfoy merged commit 7dc436e into Quansight-Labs:main Nov 6, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants