micropython/tools
David Lechner e7f6b9f4f7 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>
2022-03-25 12:13:00 +11:00
..
autobuild tools/autobuild: Provide .uf2 images for esp32 builds when available. 2022-02-02 23:47:49 +11:00
mpremote tools/mpremote: Bump version to 0.2.0. 2022-03-07 16:02:55 +11:00
.gitattributes
.gitignore
cc1
ci.sh stm32/mboot: Add support for reading from SD card. 2022-03-22 13:33:43 +11:00
codeformat.py drivers/ninaw10: Add ublox Nina-W10 WiFi/BT module driver. 2021-11-13 23:01:03 +11:00
codestats.sh
dfu.py tools/dfu.py: Make tool work with python3 when parsing DFU files. 2021-11-01 15:46:59 +11:00
file2h.py
gen-changelog.sh
gen-cpydiff.py tools/gen-cpydiff: Skip Black fmt comments. 2022-03-25 12:13:00 +11:00
gendoc.py
insert-usb-ids.py
makemanifest.py py: Only search frozen modules when '.frozen' is found in sys.path. 2021-12-18 00:01:59 +11:00
metrics.py
mpy-tool.py tools/mpy-tool.py: Fix frozen comment generation to escape chars. 2022-02-28 18:47:24 +11:00
mpy_bin2res.py
mpy_cross_all.py all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 2021-09-16 16:04:03 +10:00
mpy_ld.py py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
pyboard.py
pydfu.py all: Update Python formatting to latest Black version 21.12b0. 2021-12-09 12:09:40 +11:00
tinytest-codegen.py tests/basics: Split f-string debug printing to separate file with .exp. 2021-08-26 23:56:02 +10:00
uf2conv.py tools/uf2conv.py: Update to latest version. 2022-02-02 23:43:58 +11:00
uf2families.json tools/uf2conv.py: Update to latest version. 2022-02-02 23:43:58 +11:00
uncrustify.cfg tools/uncrustify: Force 1 newline at end of file. 2021-08-31 13:14:45 +10:00
upip.py tools/upip.py: Remove unused op_basename() function. 2022-02-25 18:24:03 +11:00
upip_utarfile.py
verifygitlog.py tools/verifygitlog.py: Ignore line length in body if it's a URL. 2022-02-18 14:33:33 +11:00