util: add a comment to suppress a PyCharm warning about a PEP 8 violation
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 22 Sep 2024 17:18:05 -0400
changeset 51880 8f3cbea2547c
parent 51879 1a640aa20e48
child 51881 d62887764687
util: add a comment to suppress a PyCharm warning about a PEP 8 violation Slowly trying to get rid of silly warnings, so that real problems aren't hidden.
mercurial/util.py
--- a/mercurial/util.py	Sun Sep 22 17:15:20 2024 -0400
+++ b/mercurial/util.py	Sun Sep 22 17:18:05 2024 -0400
@@ -3358,6 +3358,7 @@
     """
     if pycompat.sysplatform.startswith(b'win'):
         # On Windows, use the GlobalMemoryStatusEx kernel function directly.
+        # noinspection PyPep8Naming
         from ctypes import c_long as DWORD, c_ulonglong as DWORDLONG
         from ctypes.wintypes import (  # pytype: disable=import-error
             Structure,