From 43a7310b9344fb42d23be65c965d7e558486345f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Tue, 14 Nov 2023 00:02:24 -0600 Subject: [PATCH] Update indentation --- .github/workflows/test.yaml | 12 +++++------ .pre-commit-config.yaml | 40 ++++++++++++++++++------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c4eaae3..899c160 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -33,8 +33,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - cache: pip - python-version: "3.10" + cache: pip + python-version: "3.10" - name: Install dependencies env: PIP_CONSTRAINT: .github/workflows/constraints.txt @@ -64,10 +64,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - cache: pip - python-version: ${{ matrix.python-version }} - allow-prereleases: true - architecture: x64 + cache: pip + python-version: ${{ matrix.python-version }} + allow-prereleases: true + architecture: x64 - name: Install dependencies env: PIP_CONSTRAINT: .github/workflows/constraints.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1eb969..4e6cafd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,25 +7,25 @@ ci: submodules: false repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 - hooks: - - id: check-merge-conflict - - id: check-toml - - id: end-of-file-fixer - - id: no-commit-to-branch - args: [--branch, main] - - id: trailing-whitespace +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-merge-conflict + - id: check-toml + - id: end-of-file-fixer + - id: no-commit-to-branch + args: [--branch, main] + - id: trailing-whitespace - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.5 - hooks: - - id: ruff - args: [--fix, --preview, --exit-non-zero-on-fix, --show-fixes] - - id: ruff - entry: ruff format +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.1.5 + hooks: + - id: ruff + args: [--fix, --preview, --exit-non-zero-on-fix, --show-fixes] + - id: ruff + entry: ruff format - - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.1" - hooks: - - id: pyproject-fmt +- repo: https://github.com/tox-dev/pyproject-fmt + rev: "1.5.1" + hooks: + - id: pyproject-fmt