format-code: ignore subprojects for pycodestyle

Meson-based repositories may have code from elsewhere inside
a 'subprojects' subdirectory, especially on a developer system.
Tell `pycodestyle` to ignore this subdirectory so there are not
false positive code format failures due to upstream code
repositories we do not have control over.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia6ce4ba355b14aae07b7e346afaac8667399cfc1
diff --git a/scripts/format-code.sh b/scripts/format-code.sh
index 65f3dac..e1bdaa9 100755
--- a/scripts/format-code.sh
+++ b/scripts/format-code.sh
@@ -28,7 +28,7 @@
 echo "Formatting code under $DIR/"
 
 if [[ -f "setup.cfg" ]]; then
-  pycodestyle --show-source .
+  pycodestyle --show-source --exclude=subprojects .
   rc=$?
   if [[ ${rc} -ne 0 ]]; then
     exit ${rc}