diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8faabbb8..62c2d177 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ default_install_hook_types: [pre-commit, commit-msg] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-json stages: [pre-commit] @@ -21,17 +21,17 @@ repos: - id: git-dirty stages: [pre-commit] - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.14.0 + rev: v2.15.0 hooks: - id: pretty-format-golang stages: [pre-commit] - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell stages: [pre-commit] - repo: https://github.com/commitizen-tools/commitizen - rev: v3.30.0 + rev: v4.8.3 hooks: - id: commitizen stages: [commit-msg] diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..8928c82f --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import {} }: +pkgs.mkShell { + buildInputs = with pkgs; [ + git + go + pre-commit + ]; +}