Closed Remi-Gau closed 3 years ago
I do note that you're kinda asking for it though, in that *
will expand to include lib
: the intended behaviour of exclude_dir is to not make it impossible to run miss_hit in that directory, just that the traversal will skip it, unless explicitly requested (which is what you're doing).
If you invoke mh_copyright without the *
, or instead using .
(which is the default anyway) then it works.
I think I will use this ticket to add more description to the semantics of exclude_dir
I've specifically added an example like this to the description of exclude_dir: https://florianschanda.github.io/miss_hit/configuration.html#exclude_dir
Ah yes! Now I get it!
Thanks for the clarification. :smile:
I don't know whether this is the expected behavior but this could lead to copyright notices being added at the wrong places.
Your operating system and Python version Linux Python 3.8
miss_hit==0.9.25
miss_hit config
Ran this:
And then for example checking a file in the
lib
foldergit diff lib/trk_plot.m