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

clang-format: Remove version check #891

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

berland
Copy link
Contributor

@berland berland commented Dec 21, 2022

This commit also speeds up clang-format when installed from PyPI. It detects whether the clang-format executable is a Python wrapper and finds where the actual binary is location.

Co-authored-by: Zohar Malamant [email protected]

(This is the same as equinor/ert@0c54472)

@ertomatic
Copy link
Collaborator

Can one of the admins verify this patch?

This commit also speeds up `clang-format` when installed from PyPI. It
detects whether the `clang-format` executable is a Python wrapper and
finds where the actual binary is location.

Co-authored-by: Zohar Malamant <[email protected]>
@berland berland force-pushed the rm_clang-format-version-check branch from 98463c3 to 41c2259 Compare December 23, 2022 13:20
@berland berland requested a review from pinkwah January 3, 2023 09:38
@berland berland self-assigned this Jan 5, 2023
@berland berland added the maintenance Not a bug now but could be one day, repaying technical debt label Jan 5, 2023
@lars-petter-hauge
Copy link
Contributor

Quick question, when would one want to clang-format the code if one has installed it through pypi? I'm just missing something..

@berland
Copy link
Contributor Author

berland commented Jan 6, 2023

Quick question, when would one want to clang-format the code if one has installed it through pypi? I'm just missing something..

The text concerns the case when clang-format is installed from pypi, not when ecl is installed from pypi.

@berland berland merged commit 86a8039 into equinor:main Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Not a bug now but could be one day, repaying technical debt
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants