diff --git a/buildSrc/src/main/kotlin/cpg.formatting-conventions.gradle.kts b/buildSrc/src/main/kotlin/cpg.formatting-conventions.gradle.kts index 9f8c7d874e..4c739ba254 100644 --- a/buildSrc/src/main/kotlin/cpg.formatting-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/cpg.formatting-conventions.gradle.kts @@ -108,6 +108,11 @@ spotless { } python { + targetExclude( + fileTree(project.projectDir) { + include("**/node_modules") + } + ) target("src/main/**/*.py") licenseHeader(headerWithHashes, "from").yearSeparator(" - ") } @@ -116,4 +121,4 @@ spotless { target("src/main/golang/**/*.go") licenseHeader(headerWithStars, "package").yearSeparator(" - ") } -} \ No newline at end of file +}