rubik/radon

Radon ignores '--ignore' CLI argument

karulis opened this issue · 1 comments

dirs[:] = list(filter_out(dirs, ignore))

Radon does not use provided 'ignore' value

It turns out I have misused ignore option
In my case I have structure like:

  • src/dir_to_ignore
  • src/include_dir

I was trying to use ignore like:
radon cc src --ignore src/dir_to_ignore
but the proper way is just:
radon cc src --ignore dir_to_ignore

I will close the issue, sorry for all the noise