# HG changeset patch # User Augie Fackler # Date 2019-10-15 13:52:33 # Node ID be178b5d91c823cf91ed28f6f369b902d3e2cdec # Parent 30570a056fa8396e6008e0ebb611ff3d7c020d22 dirs: tag a struct as not being formattable Differential Revision: https://phab.mercurial-scm.org/D7103 diff --git a/mercurial/cext/dirs.c b/mercurial/cext/dirs.c --- a/mercurial/cext/dirs.c +++ b/mercurial/cext/dirs.c @@ -27,10 +27,12 @@ * We modify Python integers for refcounting, but those integers are * never visible to Python code. */ +/* clang-format off */ typedef struct { PyObject_HEAD PyObject *dict; } dirsObject; +/* clang-format on */ static inline Py_ssize_t _finddir(const char *path, Py_ssize_t pos) {