hgext3rd/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Sun, 06 Oct 2019 10:10:14 -0400
changeset 43079 5209fc94b982
parent 43076 2372284d9457
child 48875 6000f5b25c9b
permissions -rw-r--r--
ui: define (write|status|warn|note)noi18n aliases We currently use `write(('...'))` to suppress check-code warnings about not using translated strings. However, when we run black, it will strip the `((...))`. In order to placate black, we'll need to use a different mechanism to pass untranslatable strings. This commit introduces a `writenoi18n` alias (and friends) to `write` for that purpose. Differential Revision: https://phab.mercurial-scm.org/D6994

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)