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

Exclude Fortran header files (ending in _f.h, _f77.h, _f90.h) from clang formatting. #189

Merged
merged 1 commit into from
Mar 24, 2017

Conversation

RyanWollaeger
Copy link
Contributor

@RyanWollaeger RyanWollaeger commented Mar 24, 2017

Exclude Fortran header files (ending in _f.h, _f77.h, _f90.h) from
pre-commit-clang-format hook's scrutiny.

Fortran header files in dependent projects get bad formatting recommendations from the clang formatting requirements. According to @jhchang-lanl, these files should be excluded from the list of valid extensions for pre-commit hook parsing.

Chang's finding.

+ Exclude Fortran header files (ending in _f.h, _f77.h, _f90.h) from
  pre-commit-clang-format hook's scrutiny.
@RyanWollaeger RyanWollaeger self-assigned this Mar 24, 2017
@jhchang-lanl jhchang-lanl merged commit 5a94287 into lanl:develop Mar 24, 2017
@RyanWollaeger RyanWollaeger deleted the clang_hook_update branch March 30, 2017 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants