Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): update pre-commit and the hooks #360

Merged
merged 1 commit into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See https://pre-commit.com/hooks.html for more hooks
default_install_hook_types: [pre-commit, commit-msg, pre-push]
default_stages: [commit]
minimum_pre_commit_version: 2.18.0
minimum_pre_commit_version: 3.0.0

repos:

Expand All @@ -17,7 +17,7 @@ repos:

# Commitizen enforces semantic and conventional commit messages.
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.40.0
rev: 3.5.2
hooks:
- id: commitizen
name: Check conventional commit message
Expand All @@ -33,13 +33,13 @@ repos:

# Add Black code formatters.
- repo: https://github.com/ambv/black
rev: 22.12.0
rev: 23.7.0
hooks:
- id: black
name: Format code
args: [--config, pyproject.toml]
- repo: https://github.com/asottile/blacken-docs
rev: 1.13.0
rev: 1.15.0
hooks:
- id: blacken-docs
name: Format code in docstrings
Expand All @@ -48,7 +48,7 @@ repos:

# Upgrade and rewrite Python idioms.
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.9.0
hooks:
- id: pyupgrade
name: Upgrade code idioms
Expand All @@ -69,7 +69,7 @@ repos:

# Check GitHub Actions workflow files.
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: v1.6.24
rev: v1.6.25
hooks:
- id: actionlint

Expand Down Expand Up @@ -98,7 +98,7 @@ repos:

# Check for potential security issues.
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
rev: 1.7.5
hooks:
- id: bandit
name: Check for security issues
Expand Down Expand Up @@ -151,7 +151,7 @@ repos:

# Check and prettify the configuration files.
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.6.0
rev: v2.10.0
hooks:
- id: pretty-format-ini
args: [--autofix]
Expand Down Expand Up @@ -185,7 +185,7 @@ repos:

# A linter for Golang
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
rev: v1.53.3
hooks:
- id: golangci-lint

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ docs = [
"numpydoc >=1.5.0,<2.0.0",
]
hooks = [
"pre-commit >=2.18.0,<3.4.0",
"pre-commit >=3.0.0,<3.4.0",
]
# Note that the `custom_exit_code` and `env` plugins may currently be unmaintained.
test = [
Expand Down