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

[pre-commit.ci] pre-commit autoupdate #85

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
30 changes: 15 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
minimum_pre_commit_version: "2.17"
default_stages: [commit]
default_stages: [pre-commit]

ci:
skip: [mypy, pylint, python-safety-dependencies-check, flakeheaven]
Expand All @@ -13,7 +13,7 @@ repos:
- repo: meta
hooks:
- id: identity
stages: [commit, manual]
stages: [pre-commit, manual]
- id: check-hooks-apply
stages: [manual]
- id: check-useless-excludes
Expand All @@ -25,7 +25,7 @@ repos:

# file checking out-of-the-box hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: check-case-conflict
- id: check-shebang-scripts-are-executable
Expand Down Expand Up @@ -55,7 +55,7 @@ repos:

# pyupgrade - upgrade old syntax to new
- repo: https://github.com/asottile/pyupgrade
rev: 12af25eb252deaaecb6b259df40d01f42e716dc3 # frozen: v3.15.2
rev: ce40a160603ab0e7d9c627ae33d7ef3906e2d2b2 # frozen: v3.19.1
hooks:
- id: pyupgrade
args: ["--py37-plus"]
Expand All @@ -68,14 +68,14 @@ repos:

# black - python formatter
- repo: https://github.com/psf/black
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
rev: 1b2427a2b785cc4aac97c19bb4b9a0de063f9547 # frozen: 24.10.0
hooks:
- id: black
args: ["--safe"]

# blacken-docs - black for python code in docs (rst/md/tex)
- repo: https://github.com/asottile/blacken-docs
rev: 960ead214cd1184149d366c6d27ca6c369ce46b6 # frozen: 1.16.0
rev: 78a9dcbecf4f755f65d1f3dec556bc249d723600 # frozen: 1.19.1
hooks:
- id: blacken-docs
exclude: testing|tests
Expand Down Expand Up @@ -117,12 +117,12 @@ repos:

# code unspecific out-of-the-box hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: end-of-file-fixer
stages: [commit]
stages: [pre-commit]
- id: trailing-whitespace
stages: [commit]
stages: [pre-commit]

# ####################################################################################
#
Expand All @@ -147,7 +147,7 @@ repos:

# code unspecific out-of-the-box hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: check-merge-conflict
- id: detect-private-key
Expand All @@ -158,7 +158,7 @@ repos:

# python specific out-of-the-box hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: debug-statements
- id: fix-encoding-pragma
Expand Down Expand Up @@ -212,7 +212,7 @@ repos:

# poetry - python dependency management
- repo: https://github.com/Cielquan/mirrors-poetry
rev: ec25c4d5817d8bcf1d6251c347a1892cb817edb8 # frozen: 1.8.2
rev: c12f2581a038cff675d4f91c1f313329cbdc5f34 # frozen: 2.0.1
hooks:
- id: poetry-check

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

# rstcheck - rst file checker
- repo: https://github.com/rstcheck/rstcheck
rev: 445861c31d8134562e723d77115721038de2e687 # frozen: v6.2.0
rev: f30c4d170a36ea3812bceb5f33004afc213bd797 # frozen: v6.2.4
hooks:
- id: rstcheck
args: ["--config", "pyproject.toml"]
Expand All @@ -235,7 +235,7 @@ repos:

# markdownlint - md file checker
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: 24eb4dce508ab81398d14d75179123fca425f12d # frozen: v0.13.0
rev: d174eb7a8f35e05d4065c82d375ad84aa0b32352 # frozen: v0.17.2
hooks:
- id: markdownlint-cli2

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

# JSON specific out-of-the-box hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
Expand Down
Loading