0

I am using python flymake with emacs, and want to turn off warnings per line. I am hoping for something like

apa(**kwdargs)  # ignore=W0142

Does it exist?

Mary Bergman
  • 98
  • 1
  • 5

1 Answers1

3

If you're using pylint with flymake, the syntax is # pylint: disable=W0142 or # pylint: disable=star-args. I would recommend using the human readable version. If you install the pylint package (in melpa), you get a command pylint-insert-ignore-comment, which makes it easy to insert such comments. Finally, newer versions of pylint have removed the star-args warning, so you might want to upgrade.

jpkotta
  • 9,237
  • 3
  • 29
  • 34