mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +00:00
Update pre-commit hooks
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
repos:
|
repos:
|
||||||
# Autoupdate: Python code
|
# Autoupdate: Python code
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.8.0
|
rev: v3.9.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py39-plus]
|
args: [--py39-plus]
|
||||||
@@ -28,7 +28,7 @@ repos:
|
|||||||
|
|
||||||
# Autoformat: Python code
|
# Autoformat: Python code
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.3.0
|
rev: 23.7.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--target-version=py39]
|
args: [--target-version=py39]
|
||||||
@@ -127,7 +127,7 @@ repos:
|
|||||||
|
|
||||||
# Run black on python code blocks in documentation files.
|
# Run black on python code blocks in documentation files.
|
||||||
- repo: https://github.com/asottile/blacken-docs
|
- repo: https://github.com/asottile/blacken-docs
|
||||||
rev: 1.14.0
|
rev: 1.15.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
# --skip-errors is added to allow us to have python syntax highlighting even if
|
# --skip-errors is added to allow us to have python syntax highlighting even if
|
||||||
|
Reference in New Issue
Block a user