summaryrefslogtreecommitdiff
path: root/py/py.cmake
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-03-23 14:18:23 -0500
committerDamien George <damien@micropython.org>2022-03-25 12:13:00 +1100
commite7f6b9f4f76142ecd554106984a8520a0ada9d03 (patch)
treeb61507f4f93eac6e7651a5d988f17fca9f7f67da /py/py.cmake
parente7a92c0e699a7c95ea322e3105f587ae1a71bedf (diff)
tools/gen-cpydiff: Skip Black fmt comments.
Since cpydiff is code used as documentation, there are cases where we may want to use Black's `fmt: on/off/skip` comments to avoid automatic formatting. However, we don't want these comments to be distracting in the generated documentation. This rewrites the code to omit these comments when generating the docs. Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'py/py.cmake')
0 files changed, 0 insertions, 0 deletions