Skip to content

Add pre-commit linting to CI #660

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

Merged
merged 4 commits into from
Aug 7, 2024
Merged

Conversation

jacobtomlinson
Copy link
Member

This PR moves black and flake8 out of ci/none.sh and runs pre-commit in GitHub Actions instead. This gives a more consistent linting experience between local development and CI.

I also took the opportunity to run pre-commit autoupdate to bump to the latest versions of black and flake8.

@jacobtomlinson jacobtomlinson added the CI Continuous Integration tools label Aug 7, 2024
@jacobtomlinson
Copy link
Member Author

CI failure is unrelated. Merging.

@jacobtomlinson jacobtomlinson merged commit 795fb66 into dask:main Aug 7, 2024
10 of 11 checks passed
@jacobtomlinson jacobtomlinson deleted the gha-lint branch August 7, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant