Using gettext

I can't figure out the Python inspection settings to work around the following features in our coding conventions here:

  • We use gettext for translation which defines '_' as a builtin function.
  • As a side-effect, we don't use '_' as the "Unused variable" placeholder, it's a different character. How do I redefine that?

1 comment
Comment actions Permalink
Found a solution for ignoring '_' as undefined:

But I still can't figure out how to mark something as deliberately unused...

Please sign in to leave a comment.