Skip to content

Commit af11b18

Browse files
committed
[UPD] pre-commit
1 parent fd1e433 commit af11b18

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ default_language_version:
22
python: python3
33
repos:
44
- repo: https://github.com/psf/black
5-
rev: 19.3b0
5+
rev: 22.3.0
66
hooks:
77
- id: black
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v2.3.0
9+
rev: v4.3.0
1010
hooks:
1111
- id: trailing-whitespace
1212
- id: end-of-file-fixer
@@ -21,10 +21,10 @@ repos:
2121
- id: mixed-line-ending
2222
args: ["--fix=lf"]
2323
- repo: https://github.com/asottile/seed-isort-config
24-
rev: v1.9.3
24+
rev: v2.2.0
2525
hooks:
2626
- id: seed-isort-config
2727
- repo: https://github.com/pre-commit/mirrors-isort
28-
rev: v4.3.21
28+
rev: v5.10.1
2929
hooks:
3030
- id: isort

hooks/build

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ COMMIT = local.env.get("GIT_SHA1")
88
DATE = date("--rfc-3339", "ns")
99

1010
# Build image
11-
docker[
12-
"image",
13-
"build",
14-
"--build-arg",
15-
"VCS_REF={}".format(COMMIT),
16-
"--build-arg",
17-
"BUILD_DATE={}".format(DATE),
18-
"--build-arg",
19-
"BASE_TAG={}".format(DOCKER_TAG),
20-
"--tag",
21-
"tecnativa/postgres-autoconf:{}".format(DOCKER_TAG),
22-
".",
23-
] & FG
11+
(
12+
docker[
13+
"image",
14+
"build",
15+
"--build-arg",
16+
"VCS_REF={}".format(COMMIT),
17+
"--build-arg",
18+
"BUILD_DATE={}".format(DATE),
19+
"--build-arg",
20+
"BASE_TAG={}".format(DOCKER_TAG),
21+
"--tag",
22+
"tecnativa/postgres-autoconf:{}".format(DOCKER_TAG),
23+
".",
24+
]
25+
& FG
26+
)

0 commit comments

Comments
 (0)