7.0 fix flakes8

I'm not convinced with this is yet. There are no proper message send to the user.

I let the XXX to know there is something to fix here code is more or less part of the comment as the comment explain why we don't raise anything.