scripts: migrate_includes: add .hpp to extension list

The script will now also migrate includes in files with the suffix `hpp`.

Signed-off-by: Anders Bjørn Nedergaard <ape.anp@gmail.com>
This commit is contained in:
Anders Bjørn Nedergaard 2022-12-14 09:34:24 +01:00 committed by Carles Cufí
commit 53227f1f13

View file

@ -23,7 +23,7 @@ import sys
ZEPHYR_BASE = Path(__file__).parents[2]
EXTENSIONS = ("c", "cpp", "h", "dts", "dtsi", "rst", "S", "overlay", "ld")
EXTENSIONS = ("c", "cpp", "h", "hpp", "dts", "dtsi", "rst", "S", "overlay", "ld")
def update_includes(project, dry_run):