Skip to content

Commit

Permalink
chore: update pre-commit and nix
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-dur committed Nov 6, 2024
1 parent 19dd667 commit ab72cda
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
# Override default [push, commit]
stages: [commit]
- id: trailing-whitespace
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
rev: v1.5.5
hooks:
- id: forbid-crlf
- id: remove-crlf
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
- pyyaml==6.0.1
- termcolor==2.4.0
- semver==3.0.2


- id: kafka-check-schemas
name: Check if local Kafka Schemas are up to date with code
Expand Down
1 change: 0 additions & 1 deletion kafka/check-local-schemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,3 @@ if [[ -n "${obsolete_schemas_files}" ]]; then
fi

[[ "${error_found}" == "false" ]] || exit 1

6 changes: 3 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# cf https://github.com/Kpler/ct-webserver#option-2-using-nix
let
nixpkgs = builtins.fetchTarball {
name = "nixos-23.05-20230814";
url = "https://github.com/NixOS/nixpkgs/archive/720e61ed8de1.tar.gz";
sha256 = "0ii10wmm8hqdp7bii7iza58rjaqs4z3ivv71qyix3qawwxx48hw9";
name = "nixos-24.05-20240621";
url = "https://github.com/NixOS/nixpkgs/archive/dd457de7e08c.tar.gz";
sha256 = "1kpamwmvs5xrmjgl3baxphmm69i0qydvgvk1n1c582ii4bdnzky0";
};

pkgs = import nixpkgs { };
Expand Down

0 comments on commit ab72cda

Please sign in to comment.