You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Low (would be nice)
Please provide a clear description of problem this feature solves
Currently, CI is the only enforcer of correct formatting. Unless your IDE settings are set up to use the same settings as CI, its difficult to get the correct formatting without running CI.
Describe your ideal solution
Add a new pre-commit hook to run the following:
yapf on python code
isort on python code
clang-format on C++ code
These should be quick enough to work in a pre-commit hook. Any other fast linting steps can also be included but linters like pylint and clang-tidy should be avoided due to the long run time.
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct
I have searched the open feature requests and have found no duplicates for this feature request
The text was updated successfully, but these errors were encountered:
Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Low (would be nice)
Please provide a clear description of problem this feature solves
Currently, CI is the only enforcer of correct formatting. Unless your IDE settings are set up to use the same settings as CI, its difficult to get the correct formatting without running CI.
Describe your ideal solution
Add a new pre-commit hook to run the following:
yapf
on python codeisort
on python codeclang-format
on C++ codeThese should be quick enough to work in a pre-commit hook. Any other fast linting steps can also be included but linters like
pylint
andclang-tidy
should be avoided due to the long run time.Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: