# HG changeset patch # User Matt Harbison # Date 2024-09-22 21:18:05 # Node ID 8f3cbea2547c58d07da3a4dddf2937092ff48506 # Parent 1a640aa20e4875f894b0abf43c2e4b58c2cb61ca 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. diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -3358,6 +3358,7 @@ def _estimatememory() -> Optional[int]: """ 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,