File tree Expand file tree Collapse file tree 4 files changed +25
-29
lines changed Expand file tree Collapse file tree 4 files changed +25
-29
lines changed Original file line number Diff line number Diff line change 59
59
{
60
60
"enabled" : true ,
61
61
"managers" : [
62
- " pre-commit "
62
+ " github-actions "
63
63
],
64
64
"matchFiles" : [
65
- " **/.pre-commit-config.yaml "
65
+ " **/.github/workflows/*.yml "
66
66
]
67
67
}
68
68
],
Original file line number Diff line number Diff line change 1
1
repos :
2
2
# General pre-commit hooks
3
3
- repo : https://github.com/pre-commit/pre-commit-hooks
4
- rev : v4.6 .0
4
+ rev : v5.0 .0
5
5
hooks :
6
6
- id : check-case-conflict
7
7
- id : check-docstring-first
8
8
- id : check-executables-have-shebangs
9
9
- id : check-merge-conflict
10
10
- id : destroyed-symlinks
11
- - id : detect-aws-credentials
12
11
- id : detect-private-key
13
12
- id : end-of-file-fixer
14
13
- id : fix-byte-order-marker
@@ -41,20 +40,20 @@ repos:
41
40
- id : go-fmt-repo
42
41
# Python specific hooks
43
42
- repo : https://github.com/asottile/reorder_python_imports
44
- rev : v3.12 .0
43
+ rev : v3.14 .0
45
44
hooks :
46
45
- id : reorder-python-imports
47
- args : [--application-directories, '.:src', --py311 -plus]
46
+ args : [--application-directories, '.:src', --py312 -plus]
48
47
- repo : https://github.com/psf/black
49
- rev : 24.4.2
48
+ rev : 25.1.0
50
49
hooks :
51
50
- id : black
52
- language_version : python3.11
51
+ language_version : python3.12
53
52
args :
54
53
- --line-length
55
54
- " 140"
56
55
- repo : https://github.com/pre-commit/mirrors-mypy
57
- rev : v1.10 .0
56
+ rev : v1.15 .0
58
57
hooks :
59
58
- id : mypy
60
59
args :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # $ nix-shell shell.nix
2
+
3
+ { pkgs ? import ( fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz" ) { } } :
4
+
5
+ pkgs . mkShell {
6
+ buildInputs = [
7
+ pkgs . go_1_23 # this was the latest available version at the time of writing
8
+ # for diagrams
9
+ pkgs . graphviz
10
+ pkgs . python312
11
+ ] ;
12
+
13
+ shellHook = ''
14
+ export GOPATH=$(pwd)/.go
15
+ export PATH=$GOPATH/bin:$PATH
16
+ '' ;
17
+ }
You can’t perform that action at this time.
0 commit comments