From 02b05d7112cff2aade030e083d95025cec473ab0 Mon Sep 17 00:00:00 2001 From: Weii Wang Date: Wed, 8 Jan 2025 18:27:53 +0800 Subject: [PATCH] Test license --- .licenserc.yaml | 3 +++ src/charm.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index afdab38..75b06ed 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -5,6 +5,9 @@ header: content: | Copyright [year] [owner] See LICENSE file for licensing details. + pattern: | + Copyright \d{4} Canonical Ltd. + See LICENSE file for licensing details. paths: - '**' paths-ignore: diff --git a/src/charm.py b/src/charm.py index 151ab11..5b35f84 100755 --- a/src/charm.py +++ b/src/charm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2025 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """OpenCTI charm."""