I think I prefer the ast method a bit more for capturing this stuff, even though the noqa usage is lost for multi-line and needs to be on the same line as the print.
I think there's a way to get the parent params to know if noqa is on or not, I need to double check that.
I think I prefer the ast method a bit more for capturing this stuff, even though the noqa usage is lost for multi-line and needs to be on the same line as the print.
I think there's a way to get the parent params to know if noqa is on or not, I need to double check that.