It might make sense to just disable E1101 for the whole file rather than in every function.