ci: hotfix precommit/poetry/isort (#16549)

This commit is contained in:
Jirka Borovec 2023-01-30 19:07:52 +09:00 committed by GitHub
parent 07cda8c94e
commit 879701f52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 9 deletions

View File

@ -68,7 +68,7 @@ repos:
name: Unused noqa name: Unused noqa
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.11.4 rev: 5.12.0
hooks: hooks:
- id: isort - id: isort
name: Format imports name: Format imports
@ -82,11 +82,10 @@ repos:
exclude: docs/source-app exclude: docs/source-app
- repo: https://github.com/asottile/blacken-docs - repo: https://github.com/asottile/blacken-docs
rev: v1.12.1 rev: 1.13.0
hooks: hooks:
- id: blacken-docs - id: blacken-docs
args: [--line-length=120] args: [--line-length=120]
additional_dependencies: [black==21.12b0]
exclude: docs/source-app exclude: docs/source-app
- repo: https://github.com/executablebooks/mdformat - repo: https://github.com/executablebooks/mdformat
@ -105,10 +104,7 @@ repos:
)$ )$
- repo: https://github.com/charliermarsh/ruff-pre-commit - repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.226' rev: 'v0.0.237'
hooks: hooks:
- id: ruff - id: ruff
# Respect `exclude` and `extend-exclude` settings. args: ["--fix"]
args:
- "--fix"
- "--force-exclude"

View File

@ -36,7 +36,7 @@ A breakpoint stops your code execution so you can inspect variables, etc... and
import pdb import pdb
pdb.set_trace() pdb.set_trace()
y = x ** 2 y = x**2
In this example, the code will stop before executing the ``y = x**2`` line. In this example, the code will stop before executing the ``y = x**2`` line.