diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5febe4a2c9..721c4ffd3e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,7 +68,7 @@ repos: name: Unused noqa - repo: https://github.com/PyCQA/isort - rev: 5.11.4 + rev: 5.12.0 hooks: - id: isort name: Format imports @@ -82,11 +82,10 @@ repos: exclude: docs/source-app - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.13.0 hooks: - id: blacken-docs args: [--line-length=120] - additional_dependencies: [black==21.12b0] exclude: docs/source-app - repo: https://github.com/executablebooks/mdformat @@ -105,10 +104,7 @@ repos: )$ - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.226' + rev: 'v0.0.237' hooks: - id: ruff - # Respect `exclude` and `extend-exclude` settings. - args: - - "--fix" - - "--force-exclude" + args: ["--fix"] diff --git a/docs/source-pytorch/debug/debugging_basic.rst b/docs/source-pytorch/debug/debugging_basic.rst index 14d059af10..d0eb42e05b 100644 --- a/docs/source-pytorch/debug/debugging_basic.rst +++ b/docs/source-pytorch/debug/debugging_basic.rst @@ -36,7 +36,7 @@ A breakpoint stops your code execution so you can inspect variables, etc... and import pdb pdb.set_trace() - y = x ** 2 + y = x**2 In this example, the code will stop before executing the ``y = x**2`` line.