From 924e8c6551185147310d5f51e473e78f63f579b6 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Thu, 4 Dec 2025 22:45:12 +0200 Subject: [PATCH 1/2] Include Go binaries in $PATH --- .profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.profile b/.profile index c1e9129..1e7ee3e 100644 --- a/.profile +++ b/.profile @@ -30,6 +30,10 @@ if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi +if [ -d "$(go env GOBIN)" ] ; then + PATH="$(go env GOBIN):$PATH" +fi + # Install the git-sync script if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then PATH="$(systemd-path user-state-private)/git-sync:$PATH" From ec5ed3cf1fce3f2372e418e4138b9b1b784f713e Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Thu, 4 Dec 2025 22:48:24 +0200 Subject: [PATCH 2/2] Update pre-commit hooks --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2d32394..d5b6fff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,13 +10,13 @@ repos: exclude: ^\.config/fcitx5/ - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.1 + rev: v0.14.8 hooks: - id: ruff args: [ --fix ] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v1.19.0 hooks: - id: mypy - repo: https://github.com/syntaqx/git-hooks @@ -29,6 +29,6 @@ repos: hooks: - id: detect-secrets - repo: https://github.com/google/keep-sorted - rev: v0.6.0 + rev: v0.7.1 hooks: - id: keep-sorted