Mercurial > hg-stable
changeset 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 | 1a640aa20e48 |
children | d62887764687 |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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,