From 1ec7ef5bfe6af1468822dd6ecd7154ea47a20d45 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 5 Mar 2026 19:23:18 -0800 Subject: [PATCH] Add codespell --- .pre-commit-config.yaml | 6 ++++++ README.md | 2 +- cmd/status.go | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b71fb87f..070fed6d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +exclude: .github/.cache repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 @@ -21,6 +22,11 @@ repos: - id: no-commit-to-branch - id: fix-byte-order-marker + - repo: https://github.com/codespell-project/codespell + rev: v2.4.2 + hooks: + - id: codespell + - repo: https://github.com/gitleaks/gitleaks rev: v8.30.0 hooks: diff --git a/README.md b/README.md index 25b31616..91eaac4c 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ tailout stop - `/etc/tailout/config.{yml,yaml,hcl,json,toml}` - `$HOME/.tailout/config.{yml,yaml,hcl,json,toml}` -For exemple, you could have this content in `/etc/tailout/config.yml`: +For example, you could have this content in `/etc/tailout/config.yml`: ```yaml tailscale: diff --git a/cmd/status.go b/cmd/status.go index 6bc3ac33..bb79722b 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -11,8 +11,8 @@ func buildStatusCommand(app *tailout.App) *cobra.Command { cmd := &cobra.Command{ Args: cobra.NoArgs, Use: "status", - Short: "Show tailout-related informations", - Long: `Show tailout-related informations. + Short: "Show tailout-related information", + Long: `Show tailout-related information. This command will show the status of tailout nodes, including the node name and whether it is connected or not.