Updating pre-commit file to fix docformatter

This commit is contained in:
Vinitha Balachandran
2025-01-16 12:13:13 +08:00
parent be40912c4e
commit 712346e988
4 changed files with 4 additions and 4 deletions

View File

@@ -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 }}

View File

@@ -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"

View File

@@ -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 }}

View File

@@ -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]