def nits(self):
    for line_no, _ in self.python_file.enumerate():
      yield self.error('T999', 'I hate everything!', line_no)
Return Nits for everything you see.
dataset/ETHPy150Open pantsbuild/pants/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_noqa.py/Rage.nits