Pre-commit on Gitlab with Matlab files

조회 수: 4 (최근 30일)
Baptiste
Baptiste 2023년 10월 18일
이동: Walter Roberson 2024년 9월 12일
I would like to add a pre-commit check for a Matlab project that is on Gitlab.
Is there a template for the pre-commit-config.yaml ? What are the hooks that would work with Matlab files ?
For example, for avoiding repeated code, formatting the code, making sure that all variables are written in CamelCase, making sure that the names of variables are understandable enough.
  댓글 수: 1
Hugo
Hugo 2024년 9월 12일
이동: Walter Roberson 2024년 9월 12일
I would also like a pre-commit script to run for MATLAB Project that is on GitLab.
Usually, the Data Dictionaries are not saved and I only see that after closing the project.
Then I have to commit and push again "Data Dictionaries were not saved, ... again!".
I want to avoid that using a pre-commit script.
Or better stil: it should be built-in, because it is unusual to commit the project when some things are still unsaved.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by