diff --git a/.copyplop.yaml b/.copyplop.yaml new file mode 100644 index 0000000000..f566195a84 --- /dev/null +++ b/.copyplop.yaml @@ -0,0 +1,66 @@ +# Copyright IBM Corp. 2021, 2025 +# "SPDX-License-Identifier: MPL-2.0" + +# Terraform AWSCC Provider Copyplop Configuration +copyright: + holder: "IBM Corp." + start_year: 2021 + current_year: 2025 + format: "Copyright {{.Holder}} {{.StartYear}}, {{.CurrentYear}}" + +license: + enabled: true + identifier: "MPL-2.0" + format: "SPDX-License-Identifier: {{.Identifier}}" + +# see breakdown of file types below +files: + exclude_paths: + - "**/when_string_test.go" # standard library generated files + - "CHANGELOG.md" + - "infrastructure/**" + - "**/import_examples_gen.json" + - "docs/**" + - ".github/**" + - "contributing/**" + - "**/README.md" + - "META.d/**" + - ".golangci.yml" + - ".markdownlint.yml" + - ".semgrep/**" + extensions: + - ".go" + - ".yml" + - ".yaml" + - ".md" + + comment_styles: + go: "//" + sh: "#" + py: "#" + hcl: "#" + tf: "#" + yml: "#" + yaml: "#" + md: "