Closed ParthS007 closed 4 years ago
Later improvement: instead of having commands written twice, we could define shell functions like:
check_black () { black --check . }
so that we can simply call check_black in appropriate places here...
check_black
In this way the commands to run will be defined in a single place (inside the shell function).
_Originally posted by @tiborsimko in https://github.com/cernopendata/cernopendata-client/pull/36#discussion_r503300017_
Later improvement: instead of having commands written twice, we could define shell functions like:
so that we can simply call
check_black
in appropriate places here...In this way the commands to run will be defined in a single place (inside the shell function).
_Originally posted by @tiborsimko in https://github.com/cernopendata/cernopendata-client/pull/36#discussion_r503300017_