Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.py @ 51917:8f3cbea2547c
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.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 22 Sep 2024 17:18:05 -0400 |
parents | f4733654f144 |
children | 1d95a87813ad |
line wrap: on
line diff
--- 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,