Skip to content

Commit 2aed275

Browse files
authored
Revert "chore(deps-dev): have Dependabot update the pre-commit hooks (#1389)"
This reverts commit 74f61d3.
1 parent 74f61d3 commit 2aed275

2 files changed

Lines changed: 16 additions & 31 deletions

File tree

.github/dependabot.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022 - 2026, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
33

44
# This configuration file enables Dependabot version updates.
@@ -51,18 +51,3 @@ updates:
5151
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#reviewers
5252
# reviewers:
5353
# -
54-
55-
- package-ecosystem: pre-commit
56-
directory: /
57-
schedule:
58-
interval: weekly
59-
commit-message:
60-
prefix: chore
61-
prefix-development: chore
62-
include: scope
63-
open-pull-requests-limit: 13
64-
target-branch: main
65-
# Add additional reviewers for PRs opened by Dependabot. For more information, see:
66-
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#reviewers
67-
# reviewers:
68-
# -

.pre-commit-config.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ repos:
1717

1818
# Commitizen enforces semantic and conventional commit messages.
1919
- repo: https://github.com/commitizen-tools/commitizen
20-
rev: 2ca29f9297911f8f5a4e8f97100b7832f045e8d3 # frozen: v4.13.10
20+
rev: v4.13.9
2121
hooks:
2222
- id: commitizen
2323
name: Check conventional commit message
2424
stages: [commit-msg]
2525

2626
# Sort imports.
2727
- repo: https://github.com/pycqa/isort
28-
rev: dac090ce4d9ee313d086e2e89ab1acb8c2664fa1 # frozen: 9.0.0a3
28+
rev: 8.0.1
2929
hooks:
3030
- id: isort
3131
name: Sort import statements
@@ -34,14 +34,14 @@ repos:
3434

3535
# Add Black code formatters.
3636
- repo: https://github.com/ambv/black
37-
rev: c6755bb741b6481d6b3d3bb563c83fa060db96c9 # frozen: v26.3.1
37+
rev: 26.3.1
3838
hooks:
3939
- id: black
4040
name: Format code
4141
args: [--config, pyproject.toml, --target-version, py311]
4242
exclude: ^tests/malware_analyzer/pypi/resources/sourcecode_samples.*
4343
- repo: https://github.com/asottile/blacken-docs
44-
rev: dda8db18cfc68df532abf33b185ecd12d5b7b326 # frozen: 1.20.0
44+
rev: 1.20.0
4545
hooks:
4646
- id: blacken-docs
4747
name: Format code in docstrings
@@ -50,7 +50,7 @@ repos:
5050

5151
# Upgrade and rewrite Python idioms.
5252
- repo: https://github.com/asottile/pyupgrade
53-
rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2
53+
rev: v3.21.2
5454
hooks:
5555
- id: pyupgrade
5656
name: Upgrade code idioms
@@ -60,7 +60,7 @@ repos:
6060
# Similar to pylint, with a few more/different checks. For more available
6161
# extensions: https://github.com/DmytroLitvinov/awesome-flake8-extensions
6262
- repo: https://github.com/pycqa/flake8
63-
rev: d93590f5be797aabb60e3b09f2f52dddb02f349f # frozen: 7.3.0
63+
rev: 7.3.0
6464
hooks:
6565
- id: flake8
6666
name: Check flake8 issues
@@ -72,13 +72,13 @@ repos:
7272

7373
# Check GitHub Actions workflow files.
7474
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
75-
rev: c04ed26e40637cab1aa9879c693832a9c120fb20 # frozen: v1.7.12.24
75+
rev: v1.7.11.24
7676
hooks:
7777
- id: actionlint
7878

7979
# Check shell scripts with shellcheck.
8080
- repo: https://github.com/shellcheck-py/shellcheck-py
81-
rev: 745eface02aef23e168a8afb6b5737818efbea95 # frozen: v0.11.0.1
81+
rev: v0.11.0.1
8282
hooks:
8383
- id: shellcheck
8484
exclude: ^tests/
@@ -110,7 +110,7 @@ repos:
110110

111111
# Check for potential security issues.
112112
- repo: https://github.com/PyCQA/bandit
113-
rev: 92ae8b82fb422a639f0ed8d99e96cea769594e08 # frozen: v1.9.4
113+
rev: 1.9.4
114114
hooks:
115115
- id: bandit
116116
name: Check for security issues
@@ -123,7 +123,7 @@ repos:
123123
# Enable a whole bunch of useful helper hooks, too.
124124
# See https://pre-commit.com/hooks.html for more hooks.
125125
- repo: https://github.com/pre-commit/pre-commit-hooks
126-
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
126+
rev: v6.0.0
127127
hooks:
128128
- id: check-ast
129129
- id: check-case-conflict
@@ -142,7 +142,7 @@ repos:
142142
args: [--allow-multiple-documents]
143143
- id: check-toml
144144
- repo: https://github.com/pre-commit/pygrep-hooks
145-
rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 # frozen: v1.10.0
145+
rev: v1.10.0
146146
hooks:
147147
- id: python-check-blanket-noqa
148148
# Disabling blanket-type-ignore for now until type stubs are added.
@@ -158,13 +158,13 @@ repos:
158158
# this package's documentation.
159159
# Commenting this out because https://github.com/Lucas-C/pre-commit-hooks-markup/issues/13
160160
# - repo: https://github.com/Lucas-C/pre-commit-hooks-markup
161-
# rev: 501f3d60cee13c712492103343bc23efdc7b3d1f # frozen: v1.0.1
161+
# rev: v1.0.1
162162
# hooks:
163163
# - id: rst-linter
164164

165165
# Check and prettify the configuration files.
166166
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
167-
rev: 4380fbb73a154b5f5624794c1c78d9719ccc860f # frozen: v2.16.0
167+
rev: v2.16.0
168168
hooks:
169169
- id: pretty-format-ini
170170
args: [--autofix]
@@ -223,7 +223,7 @@ repos:
223223

224224
# A linter for Golang
225225
- repo: https://github.com/golangci/golangci-lint
226-
rev: 8f3b0c7ed018e57905fbd873c697e0b1ede605a5 # frozen: v2.11.4
226+
rev: v2.11.4
227227
hooks:
228228
- id: golangci-lint
229229

@@ -235,7 +235,7 @@ repos:
235235
# Other staged files shouldn't trigger these hooks.
236236
# Documentation: https://github.com/TekWizely/pre-commit-golang/blob/v1.0.0-rc.1/README.md.
237237
- repo: https://github.com/tekwizely/pre-commit-golang
238-
rev: f298c082154b2cb239fac06a4f452368e66e66dd # frozen: v1.0.0-rc.4
238+
rev: v1.0.0-rc.4
239239
hooks:
240240
- id: go-build-mod
241241
- id: go-build-repo-mod

0 commit comments

Comments
 (0)