From 66e5dd65ca54085122ff1c07ff1b0fbf66b369d9 Mon Sep 17 00:00:00 2001 From: tison Date: Sat, 22 Aug 2026 20:14:33 +0800 Subject: [PATCH] chore: migrate HawkEye to v7 --- licenserc.toml | 21 +++++++++++++-------- mit-header.txt | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/licenserc.toml b/licenserc.toml index cd26ad4..f1abe85 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -1,6 +1,6 @@ # MIT License # -# Copyright (C) 2025 vanous +# Copyright (C) 2025 tison, vanous # # This file is part of pymvr. # @@ -22,17 +22,22 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -headerPath = "mit-header.txt" +[header] +path = "mit-header.txt" +[files] excludes = [ - ".github/", + ".github/**", + "**/*.md", + ".gitignore", + "LICENSE", + "tests/**/*.mvr", ] [git] -attrs = 'auto' +file_attrs = 'auto' ignore = 'auto' -[properties] -inceptionYear = 2023 -projectName = "pymvr" - +[props] +inception_year = 2023 +project_name = "pymvr" diff --git a/mit-header.txt b/mit-header.txt index 1d7777e..2ee1070 100644 --- a/mit-header.txt +++ b/mit-header.txt @@ -2,7 +2,7 @@ MIT License Copyright (C) {{attrs.git_file_created_year}} {{ attrs.git_authors | join(", ") }} -This file is part of {{props["projectName"]}}. +This file is part of {{ props.project_name }}. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal