florianschanda / miss_hit

MATLAB Independent, Small & Safe, High Integrity Tools - code formatter and more
GNU General Public License v3.0
163 stars 21 forks source link

The command `mh_style` han't been added in path #262

Closed zousiyu1995 closed 1 year ago

zousiyu1995 commented 1 year ago

Python: miniconda3

In the QUICK START section on website of https://misshit.org/, two commands are given.

When I run the command,

pip3 install miss_hit

It will add three commands, namely mh_copyright.exe, mh_diff, mh_lint, into the path ~/miniconda3/Script. But, there is no mh_style. So, I can't run the command as follows,

mh_style --fix my_program.m
florianschanda commented 1 year ago

Somehow you managed to install miss_hit without the dependency, miss_hit_core. The utility mh_style is part of miss_hit_core, not miss_hit.

Try explicitly installing miss_hit_core that should fix your issue.

florianschanda commented 1 year ago

This ticket prompted me to review the setup files; and mh_trace was actually missing, which I have fixed in https://github.com/florianschanda/miss_hit/commit/50299f74867cecfd89bc0c922c8fd8071c7b42a1