From 54378dfbe03e6cdca12b25e45b19a5909c67b58f Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Mon, 20 Jan 2025 23:58:26 +0000 Subject: [PATCH] No more linting extapps, tired of merge conflicts --nobuild --- SConstruct | 6 ++++-- firmware.scons | 12 ++---------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/SConstruct b/SConstruct index 335bdde3c..108ff26ba 100644 --- a/SConstruct +++ b/SConstruct @@ -327,8 +327,9 @@ firmware_env.Append( IMG_LINT_SOURCES=[ # Image assets "applications", - "!applications/external", "assets", + # Avoid merge conflicts + "!applications/external", ], ) @@ -346,8 +347,9 @@ black_commandline = [ black_base_args = [ "--include", '"(\\.scons|\\.py|SConscript|SConstruct|\\.fam)$"', + # Avoid merge conflicts "--exclude", - '"(mp_flipper/(flipperzero|docs)/.*\\.py)$"', + '"applications/external"', ] distenv.PhonyTarget( diff --git a/firmware.scons b/firmware.scons index 799f9c18a..e53fd8edf 100644 --- a/firmware.scons +++ b/firmware.scons @@ -31,16 +31,8 @@ env = ENV.Clone( Dir("applications"), # Not C code Dir("!applications/system/js_app/packages"), - # Frequently updated and very different formatting, painful to merge - Dir("!applications/external/nfc_playlist"), - Dir("!applications/external/flip_library"), - Dir("!applications/external/flip_social"), - Dir("!applications/external/flip_store"), - Dir("!applications/external/flip_trader"), - Dir("!applications/external/flip_weather"), - Dir("!applications/external/flip_wifi"), - Dir("!applications/external/flip_world"), - Dir("!applications/external/web_crawler"), + # Avoid merge conflicts + Dir("!applications/external"), ], LIBPATH=[ "${LIB_DIST_DIR}",