This is an automated email from the ASF dual-hosted git repository.
tisonkun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 5cb4680 chore: migrate HawkEye to v7 (#207)
5cb4680 is described below
commit 5cb468015b31a147c9b957943e052b175884f9cd
Author: tison <[email protected]>
AuthorDate: Sat Aug 22 20:40:11 2026 +0800
chore: migrate HawkEye to v7 (#207)
---
CONTRIBUTING.md | 2 +-
licenserc.toml | 4 +++-
xtask/src/main.rs | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4b2e84e..9230f6a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -109,7 +109,7 @@ Automatic fix commands:
cargo +nightly clippy --tests --all-features --all-targets --workspace
--allow-staged --allow-dirty --fix
cargo +nightly fmt --all
taplo format
-hawkeye format --fail-if-updated=false
+hawkeye format
```
Install the extra tools with:
diff --git a/licenserc.toml b/licenserc.toml
index 82c6c6b..566fe0d 100644
--- a/licenserc.toml
+++ b/licenserc.toml
@@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-headerPath = "Apache-2.0-ASF.txt"
+[header]
+builtin = "Apache-2.0-ASF"
+[files]
includes = ['**/*.py', '**/*.rs', '**/*.yml', '**/*.yaml', '**/*.toml']
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 50768fa..dc4fe43 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -255,7 +255,7 @@ fn make_hawkeye_cmd(fix: bool) -> StdCommand {
ensure_installed("hawkeye", "hawkeye");
let mut cmd = find_command("hawkeye");
if fix {
- cmd.args(["format", "--fail-if-updated=false"]);
+ cmd.args(["format"]);
} else {
cmd.args(["check"]);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]