Skip to content

Commit 13559ae

Browse files
vil02cclausspre-commit-ci[bot]
authored
style: use proper indentation in ruff.yml (#11237)
* style: use proper indentation in `ruff.yml` * chore: run `prettier` on `yml` files * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update .pre-commit-config.yaml * chore: run prettier on workflow files --------- Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ffb93ad commit 13559ae

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- name: Run tests
2626
# TODO: #8818 Re-enable quantum tests
2727
run: pytest
28-
--ignore=quantum/q_fourier_transform.py
29-
--ignore=project_euler/
30-
--ignore=scripts/validate_solutions.py
31-
--cov-report=term-missing:skip-covered
32-
--cov=. .
28+
--ignore=quantum/q_fourier_transform.py
29+
--ignore=project_euler/
30+
--ignore=scripts/validate_solutions.py
31+
--cov-report=term-missing:skip-covered
32+
--cov=. .
3333
- if: ${{ success() }}
3434
run: scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md

.github/workflows/ruff.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
ruff:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- run: pip install --user ruff
16-
- run: ruff --output-format=github .
14+
- uses: actions/checkout@v4
15+
- run: pip install --user ruff
16+
- run: ruff --output-format=github .

.pre-commit-config.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
- repo: https://github.com/MarcoGorelli/auto-walrus
1414
rev: v0.2.2
1515
hooks:
16-
- id: auto-walrus
16+
- id: auto-walrus
1717

1818
- repo: https://github.com/astral-sh/ruff-pre-commit
1919
rev: v0.1.11
@@ -59,3 +59,9 @@ repos:
5959
- --install-types # See mirrors-mypy README.md
6060
- --non-interactive
6161
additional_dependencies: [types-requests]
62+
63+
- repo: https://github.com/pre-commit/mirrors-prettier
64+
rev: "v3.1.0"
65+
hooks:
66+
- id: prettier
67+
types_or: [toml, yaml]

0 commit comments

Comments
 (0)