Skip to content
Merged
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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@
repos:
# Autoupdate: Python code
- repo: https://github.com/asottile/pyupgrade
rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2
rev: f22ea0651f4355c655cc581f67813c991c74a312 # frozen: v3.22.0
hooks:
- id: pyupgrade
args: [--py39-plus]

# Automatically sort python imports
- repo: https://github.com/pycqa/isort
rev: 9f905615631c545f5aea2516508109350d1d2f7d # frozen: 9.0.2
rev: 5d9c96196def28a1819b6a755a669ec0a3add6aa # frozen: 10.0.0b2
hooks:
- id: isort
args: [--profile, black]

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 87928e6d6761a4a6d22250e1fee5601b3998086e # frozen: 26.5.1
rev: 258e7dbf348bc23cb70b8cdf693481c04634ebcc # frozen: 26.10.1
hooks:
- id: black
args: [--target-version=py39]

# Check python code static typing
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 7ff8d35ae36a7d2b968f2f90b4c723e292e594ee # frozen: v2.3.1
rev: ad26ebfa797fcb9b8f83275937c1c1d6e126719c # frozen: v2.4.1
hooks:
- id: mypy
args: [--config, ./mypy.ini]
Expand All @@ -51,7 +51,7 @@ repos:

# Autoformat: YAML, JSON, Markdown, etc.
- repo: https://github.com/rbubley/mirrors-prettier
rev: ef4a397f916211b4a39ccf9d3d9cbb6562157251 # frozen: v3.9.9
rev: 331f33fa4dfbcbca7c3da3620c137fde0faab273 # frozen: v3.9.10
hooks:
- id: prettier

Expand All @@ -65,13 +65,13 @@ repos:

# Lint: Python
- repo: https://github.com/PyCQA/flake8
rev: cfbbfdeb2391c14a37e101e92a77f54f329e1726 # frozen: 7.4.1
rev: 960c1d286190804104f7255b97da034446fdaac3 # frozen: 7.5.0
hooks:
- id: flake8

# Lint: Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: 5b5dddc4fb0f83c3ea1fc5616fa63e115dce83e0 # frozen: v0.49.1
rev: cbcdc463be5464e25e3e955a511599a67b9b987f # frozen: v0.50.0
hooks:
- id: markdownlint
args: ["--fix"]