build/analysis: cleanup haslicense excludes
Change-Id: Ide3d2c590b6a9cfbbe48e9f635c0be4bdba53f1a
Reviewed-on: https://review.monogon.dev/c/monogon/+/3981
Tested-by: Jenkins CI
Reviewed-by: Jan Schär <jan@monogon.tech>
diff --git a/build/analysis/BUILD.bazel b/build/analysis/BUILD.bazel
index ae0cd74..91a2f20 100644
--- a/build/analysis/BUILD.bazel
+++ b/build/analysis/BUILD.bazel
@@ -196,14 +196,6 @@
"cgo/": "cgo",
},
},
- "haslicense": {
- "exclude_files": {
- "metropolis/node/kubernetes/metricsprovider": "Multi-Party copyright statement (#376)",
- "external/": "third_party",
- "bazel-out/": "generated_output",
- "cgo/": "cgo",
- },
- },
}
# All analyzers that should be disabled for external, generated or cgo code.
@@ -223,6 +215,7 @@
"hash",
"errcmp",
"gofmt",
+ "haslicense",
] + ALL_STATICCHECK_ANALYZERS
# We override the variable with itself unioned with the other