Mercurial > hg
view contrib/clang-format-ignorelist @ 51770:3be39e36732a
manifest: clear `_lazydirs` in place in `_loadalllazy`
This avoid resetting the type of the dictionary in pytype eyes. This is
consistent with the way the dictionary is cleared bits by bits in
`_loadalllazy`
Having more accurate code will help pytype. We do it in advance to help
bisecting and avoid drowning them in the future type annotation noise.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 05 Aug 2024 10:11:51 +0200 |
parents | e92ca942ddca |
children |
line wrap: on
line source
# Files that just need to be migrated to the formatter. # Do not add new files here! mercurial/cext/manifest.c mercurial/cext/osutil.c # Vendored code that we should never format: syntax: glob contrib/python-zstandard/**.c contrib/python-zstandard/**.h hgext/fsmonitor/pywatchman/**.c mercurial/thirdparty/**.c mercurial/thirdparty/**.h mercurial/pythoncapi_compat.h