Skip to content

Commit d93610e

Browse files
committed
Pre-Commit: Update pre-commit hooks configuration
1 parent 00aba52 commit d93610e

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exclude: |
1010
1111
repos:
1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: 38b88246ccc552bffaaf54259d064beeee434539 # v4.0.1
13+
rev: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # v4.4.0
1414
hooks:
1515
- id: trailing-whitespace
1616
args: [--markdown-linebreak-ext=md]
@@ -32,31 +32,30 @@ repos:
3232
args : [--fix=lf]
3333

3434
- repo: https://github.com/ambv/black
35-
rev: ae2c0758c9e61a385df9700dc9c231bf54887041 # 22.3.0
35+
rev: bf7a16254ec96b084a6caf3d435ec18f0f245cc7 # 23.3.0
3636
hooks:
3737
- id: black
3838

3939
- repo: https://github.com/PyCQA/flake8
40-
rev: c6e0d27593a45342ffa96a18bba708a5aab32fdf # 3.9.2
40+
rev: b9a7794c4f425ef8419081e6993f99419cc667ea # 6.0.0
4141
hooks:
4242
- id: flake8
4343
additional_dependencies: [flake8-bugbear]
4444

4545
- repo: https://github.com/timothycrosley/isort
46-
rev: a6222a8a125ec719724e628a5d3d0d5c60923281 # 5.8.0
46+
rev: e44834b7b294701f596c9118d6c370f86671a50d # 5.12.0
4747
hooks:
4848
- id: isort
4949

5050
- repo: https://github.com/pre-commit/mirrors-mypy
51-
rev: b84ce099a2fd3c5216b6ccf3fd176c3828b075fb # v0.812
51+
rev: 6e63c9e9c65e1df04465cdcda0f2490e89291f58 # v1.4.1
5252
hooks:
5353
- id: mypy
54+
additional_dependencies: [types-requests]
55+
args: [--ignore-missing-imports]
5456

5557
- repo: https://github.com/jumanjihouse/pre-commit-hooks
56-
rev: 7cc5848088fd8412905ab79feea6c8edc3ac76c6 # 2.1.5
58+
rev: 38980559e3a605691d6579f96222c30778e5a69e # 3.0.0
5759
hooks:
5860
- id: forbid-binary
59-
# - id: git-dirty
60-
# - id: markdownlint
61-
# - id: protect-first-parent
6261
- id: shellcheck

tools/provision.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ class AwsHelper:
334334
arn = None
335335

336336
def __init__(self, args):
337-
338337
# Convert Namespace to dict
339338
args = vars(args)
340339

0 commit comments

Comments
 (0)