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

pre-commit: adopt sort-all hook #2151

Merged
merged 2 commits into from
Mar 13, 2023
Merged

Conversation

bjlittle
Copy link
Member

This PR adds support for the sort-all pre-commit git hook to enforce an opinionated sort order of __all__ statements throughout the code-base.

Reference: #1934

@dopplershift
Copy link
Contributor

Need to fix up conflicts.

@bjlittle
Copy link
Member Author

bjlittle commented Mar 13, 2023

@dopplershift I suspect I'm going have conflicts after each merge to main as it moves forwards, as my collection of PRs are all kinda stomping over each other.

We can iterate piecemeal on each individual PR, one at a time, if that works for you?

.git-blame-ignore-revs Outdated Show resolved Hide resolved
@bjlittle
Copy link
Member Author

@dopplershift Good to go 👍

@dopplershift dopplershift merged commit 5a9aeb4 into SciTools:main Mar 13, 2023
@bjlittle
Copy link
Member Author

Sweet, thanks 👍

@bjlittle bjlittle deleted the adopt-sort-all branch March 13, 2023 22:10
@QuLogic QuLogic added this to the 0.22 milestone Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants