-
Notifications
You must be signed in to change notification settings - Fork 4
Add pre-commit #25
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
base: master
Are you sure you want to change the base?
Add pre-commit #25
Conversation
Add pre-commit in requirements. |
You still need to enable the pre-commit app. It is not a GitHub action and not a requirement. |
64ba371
to
9375035
Compare
This comment was marked as outdated.
This comment was marked as outdated.
2c96fd8
to
b57760f
Compare
The Python 3.13 CI failure is caused by python-cffi/cffi#24 as far as I can see. |
Note that pre-commit.ci is available for open source repositories only: |
dee0fda
to
77fae7b
Compare
77fae7b
to
5d1c7e5
Compare
It is a mix with PR#37. |
Right. I'll remove this for now: - id: ruff-format |
5d1c7e5
to
a7eaf7b
Compare
Removed anything not related to moving from Rebased. |
.github/workflows/linters.yml
Outdated
- name: Lint with Ruff | ||
uses: astral-sh/ruff-action@v3 | ||
run: | | ||
ruff check --output-format=github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File .github/workflows/linters.yml
is almost useless as it is, it just checks that installation remains possible.
769f561
to
e9f4815
Compare
- assorted pre-commit hooks - add ruff linter as a pre-commit hook - remove pycodestyle from GitHub Action
- trim trailing whitespace - fix end of files
e9f4815
to
318ad4e
Compare
Depends on #15 and #24.
You will have to enable pre-commit for this repository: Settings > GitHub_Apps.