Mercurial > hg
annotate contrib/clang-format-ignorelist @ 51861:f81e0ce5103a default tip
typing: simplify archive.gz writing and drop a few pytype suppressions
I was waiting until 3.8 to use `Literal` to fix this, but there's also the ":"
and "|" characters that are passed along here, meant only for the non-gz archive
types. But manipulating what the local caller passes is silly- we know we're
writing, so just open it for writing. As an added bonus, PyCharm stops flagging
the call too (since it doesn't know about pytype suppression comments).
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 12 Sep 2024 12:53:00 -0400 |
parents | e92ca942ddca |
children |
rev | line source |
---|---|
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1 # Files that just need to be migrated to the formatter. |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
2 # Do not add new files here! |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
3 mercurial/cext/manifest.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
4 mercurial/cext/osutil.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
5 # Vendored code that we should never format: |
44037
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
6 syntax: glob |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
7 contrib/python-zstandard/**.c |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
8 contrib/python-zstandard/**.h |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
9 hgext/fsmonitor/pywatchman/**.c |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
10 mercurial/thirdparty/**.c |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
11 mercurial/thirdparty/**.h |
46374
e92ca942ddca
cext: add Python 3.10 support
Victor Stinner <vstinner@python.org>
parents:
44037
diff
changeset
|
12 mercurial/pythoncapi_compat.h |