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