ci: hotfix precommit/poetry/isort (#16549)
This commit is contained in:
parent
07cda8c94e
commit
879701f52f
|
@ -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"]
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue