Updating pre-commit file to fix docformatter
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: [3.9, "3.10", "3.11", "3.12"]
|
python-version: [3.9, "3.10", "3.11", "3.12"]
|
||||||
uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@main
|
uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@v1
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|||||||
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
deploy-docs:
|
deploy-docs:
|
||||||
needs: [evaluate-label]
|
needs: [evaluate-label]
|
||||||
uses: qiboteam/workflows/.github/workflows/deploy-ghpages-latest-stable.yml@main
|
uses: qiboteam/workflows/.github/workflows/deploy-ghpages-latest-stable.yml@v1
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
package-manager: "poetry"
|
package-manager: "poetry"
|
||||||
|
|||||||
2
.github/workflows/rules.yml
vendored
2
.github/workflows/rules.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: [3.9, "3.10", "3.11", "3.12"]
|
python-version: [3.9, "3.10", "3.11", "3.12"]
|
||||||
uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@main
|
uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@v1
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ repos:
|
|||||||
- id: isort
|
- id: isort
|
||||||
args: ["--profile", "black"]
|
args: ["--profile", "black"]
|
||||||
- repo: https://github.com/PyCQA/docformatter
|
- repo: https://github.com/PyCQA/docformatter
|
||||||
rev: v1.7.5
|
rev: master
|
||||||
hooks:
|
hooks:
|
||||||
- id: docformatter
|
- id: docformatter
|
||||||
additional_dependencies: [tomli]
|
additional_dependencies: [tomli]
|
||||||
|
|||||||
Reference in New Issue
Block a user