From e733131d25d2363544ef12aa73b6c11ffe2ce489 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 11:39:15 +0300 Subject: [PATCH 01/14] init: add uv and ruff --- .pre-commit-config.yaml | 7 +++++++ README.md | 9 ++++++++- requirements.txt | Bin 0 -> 474 bytes 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml create mode 100644 requirements.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..47877e0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.11.10 + hooks: + - id: ruff-check + args: [ --fix ] + - id: ruff-format \ No newline at end of file diff --git a/README.md b/README.md index a3f7a2f..0fc18c1 100644 --- a/README.md +++ b/README.md @@ -1 +1,8 @@ -# pythonbooks \ No newline at end of file +# pythonbooks + + + + +## +- python -m pre_commit run --all-files +- pre-commit run --all-files \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..1e8c9b53d987bd95bf64ea4946b0fda2879cf20e GIT binary patch literal 474 zcmYL_-A;o*5QWdRiI1WwRE@pxVb-=ZC{P4!QXgLZ&Wyoq7Lq-`Ge6%&vrcL?>8M68 zoUQKl%&l~*8|`^L>9QgZAe%rAsAetd_`e3e0keAdhrg+4Kz$DM5v1m(Z-c5Mvjg4h zef6&*I}=(RU<_omw73Sx4o~5doB_RA=4HzYbhqY=BorJPc$0d#o^=i{&yv%6(lK^$ zN1HRe9^SIDoSJzfJ+3(R_jTw@+6|7OH_MyZhJMi( c4c)f{TBEE3Pyb7_Uq~r9{m*QkJ)D-zUn{Xg#{d8T literal 0 HcmV?d00001 From a7084e96a72a2f699b1cd58ecdf046a8013a77a0 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 15:41:09 +0300 Subject: [PATCH 02/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ed52ce..89cdbd5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,14 +17,12 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Install uv + - name: install uv id: setup-uv run: | - curl -Ls https://astral.sh/uv/install.sh | bash + curl -LsSf https://astral.sh/uv/install.sh | sh echo "uv-path=$HOME/.cargo/bin" >> $GITHUB_OUTPUT - - - name: Add uv to PATH - run: echo "PATH=${{ steps.setup-uv.outputs.uv-path }}:$PATH" >> $GITHUB_PATH + echo "$HOME/.cargo/bin" >> $GITHUB_PATH lint: needs: setup @@ -35,14 +33,16 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Add uv to PATH - run: echo "PATH=${{ needs.setup.outputs.uv-path }}:$PATH" >> $GITHUB_PATH + - name: verify uv installation + run: | + echo "UV path: ${{ needs.setup.outputs.uv-path }}" + ls -la ${{ needs.setup.outputs.uv-path }} - - name: Install ruff - run: uv pip install ruff + - name: install ruff + run: ${{ needs.setup.outputs.uv-path }}/uv pip install ruff - - name: Run ruff fix - run: uv run ruff check . --fix + - name: run ruff + run: ${{ needs.setup.outputs.uv-path }}/uv run ruff check . test: needs: setup @@ -53,20 +53,17 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Add uv to PATH - run: echo "PATH=${{ needs.setup.outputs.uv-path }}:$PATH" >> $GITHUB_PATH - - - name: Cache dependencies + - name: cache dependencies uses: actions/cache@v3 with: path: ${{ env.UV_CACHE_DIR }} key: uv-${{ hashFiles('**/pyproject.toml') }} - - name: Install dependencies - run: uv pip install pytest + - name: install dependencies + run: ${{ needs.setup.outputs.uv-path }}/uv pip install pytest - - name: Run tests - run: uv run pytest + - name: run tests + run: ${{ needs.setup.outputs.uv-path }}/uv run pytest deploy: needs: [lint, test] @@ -74,4 +71,4 @@ jobs: if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - - run: echo "deploy" + - run: echo "pass deploy" \ No newline at end of file From cc78f3be6ac51cd2a0b816400f35130c3a2482d5 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 15:50:39 +0300 Subject: [PATCH 03/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89cdbd5..532b0f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,9 +40,11 @@ jobs: - name: install ruff run: ${{ needs.setup.outputs.uv-path }}/uv pip install ruff + working-directory: ./pythonbooks - - name: run ruff + - name: Run ruff run: ${{ needs.setup.outputs.uv-path }}/uv run ruff check . + working-directory: ./pythonbooks test: needs: setup @@ -57,13 +59,15 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.UV_CACHE_DIR }} - key: uv-${{ hashFiles('**/pyproject.toml') }} + key: uv-${{ hashFiles('pythonbooks/requirements.txt') }} - name: install dependencies - run: ${{ needs.setup.outputs.uv-path }}/uv pip install pytest + run: ${{ needs.setup.outputs.uv-path }}/uv pip install -r requirements.txt + working-directory: ./pythonbooks - name: run tests run: ${{ needs.setup.outputs.uv-path }}/uv run pytest + working-directory: ./pythonbooks deploy: needs: [lint, test] @@ -71,4 +75,4 @@ jobs: if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - - run: echo "pass deploy" \ No newline at end of file + - run: echo "pass deploy" From c263f97278ee1253edbf2fa748bd5e02e26dfd4f Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 15:54:38 +0300 Subject: [PATCH 04/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 532b0f4..b6c4784 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,12 +17,14 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: install uv + - name: Install uv id: setup-uv run: | curl -LsSf https://astral.sh/uv/install.sh | sh echo "uv-path=$HOME/.cargo/bin" >> $GITHUB_OUTPUT - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + + - name: Add uv to PATH + run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH lint: needs: setup @@ -33,18 +35,14 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: verify uv installation - run: | - echo "UV path: ${{ needs.setup.outputs.uv-path }}" - ls -la ${{ needs.setup.outputs.uv-path }} + - name: Add uv to PATH + run: echo "${{ needs.setup.outputs.uv-path }}" >> $GITHUB_PATH - - name: install ruff + - name: Install ruff run: ${{ needs.setup.outputs.uv-path }}/uv pip install ruff - working-directory: ./pythonbooks - name: Run ruff - run: ${{ needs.setup.outputs.uv-path }}/uv run ruff check . - working-directory: ./pythonbooks + run: ${{ needs.setup.outputs.uv-path }}/uv run ruff check . --fix test: needs: setup @@ -55,19 +53,20 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: cache dependencies + - name: Add uv to PATH + run: echo "${{ needs.setup.outputs.uv-path }}" >> $GITHUB_PATH + + - name: Cache dependencies uses: actions/cache@v3 with: path: ${{ env.UV_CACHE_DIR }} - key: uv-${{ hashFiles('pythonbooks/requirements.txt') }} + key: uv-${{ hashFiles('**/requirements.txt') }} - - name: install dependencies + - name: Install dependencies from requirements.txt run: ${{ needs.setup.outputs.uv-path }}/uv pip install -r requirements.txt - working-directory: ./pythonbooks - - name: run tests + - name: Run tests run: ${{ needs.setup.outputs.uv-path }}/uv run pytest - working-directory: ./pythonbooks deploy: needs: [lint, test] @@ -75,4 +74,4 @@ jobs: if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - - run: echo "pass deploy" + - run: echo "deploy" From c24677534c2a72239df176a1ee9946418a81c693 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:01:32 +0300 Subject: [PATCH 05/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6c4784..769e67a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,50 +23,42 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh echo "uv-path=$HOME/.cargo/bin" >> $GITHUB_OUTPUT - - name: Add uv to PATH - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - lint: needs: setup runs-on: ubuntu-latest + env: + PATH: ${{ needs.setup.outputs.uv-path }}:$PATH steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - name: Add uv to PATH - run: echo "${{ needs.setup.outputs.uv-path }}" >> $GITHUB_PATH - - - name: Install ruff - run: ${{ needs.setup.outputs.uv-path }}/uv pip install ruff - - - name: Run ruff - run: ${{ needs.setup.outputs.uv-path }}/uv run ruff check . --fix + - name: Run ruff with autofix + run: uv run ruff check pythonbooks --fix test: needs: setup runs-on: ubuntu-latest + env: + PATH: ${{ needs.setup.outputs.uv-path }}:$PATH steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - name: Add uv to PATH - run: echo "${{ needs.setup.outputs.uv-path }}" >> $GITHUB_PATH - - name: Cache dependencies uses: actions/cache@v3 with: path: ${{ env.UV_CACHE_DIR }} - key: uv-${{ hashFiles('**/requirements.txt') }} + key: uv-${{ hashFiles('pythonbooks/requirements.txt') }} - name: Install dependencies from requirements.txt - run: ${{ needs.setup.outputs.uv-path }}/uv pip install -r requirements.txt + run: uv pip install -r pythonbooks/requirements.txt - name: Run tests - run: ${{ needs.setup.outputs.uv-path }}/uv run pytest + run: uv run pytest pythonbooks deploy: needs: [lint, test] From f2de11d5ec266ac34b523219e2db0c5f1585bfb9 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:04:49 +0300 Subject: [PATCH 06/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 769e67a..1189dee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,18 +10,21 @@ jobs: setup: runs-on: ubuntu-latest outputs: - uv-path: ${{ steps.setup-uv.outputs.uv-path }} + uv-path: ${{ steps.add-uv.outputs.uv-path }} steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - name: Install uv - id: setup-uv + - name: Install uv via pipx + id: add-uv run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "uv-path=$HOME/.cargo/bin" >> $GITHUB_OUTPUT + python -m pip install --upgrade pip + python -m pip install pipx + pipx install uv + echo "uv-path=$(pipx list | grep -oP '(?<=package )uv.*?bin' | head -n1)" >> $GITHUB_OUTPUT lint: needs: setup @@ -30,11 +33,15 @@ jobs: PATH: ${{ needs.setup.outputs.uv-path }}:$PATH steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - name: Run ruff with autofix + - name: Install ruff + run: uv pip install ruff + + - name: Run ruff check run: uv run ruff check pythonbooks --fix test: @@ -44,6 +51,7 @@ jobs: PATH: ${{ needs.setup.outputs.uv-path }}:$PATH steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -54,7 +62,7 @@ jobs: path: ${{ env.UV_CACHE_DIR }} key: uv-${{ hashFiles('pythonbooks/requirements.txt') }} - - name: Install dependencies from requirements.txt + - name: Install requirements run: uv pip install -r pythonbooks/requirements.txt - name: Run tests From 451f2ff1d28470728eb63f0615c99d55ce8a33a9 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:21:26 +0300 Subject: [PATCH 07/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 74 +++++--------------------------------- 1 file changed, 9 insertions(+), 65 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1189dee..4df23d0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,76 +2,20 @@ name: pythonbooks on: [push, pull_request] -env: - PYTHON_VERSION: '3.11' - UV_CACHE_DIR: ~/.cache/uv - jobs: - setup: - runs-on: ubuntu-latest - outputs: - uv-path: ${{ steps.add-uv.outputs.uv-path }} - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: ${{ env.PYTHON_VERSION }} - - - name: Install uv via pipx - id: add-uv - run: | - python -m pip install --upgrade pip - python -m pip install pipx - pipx install uv - echo "uv-path=$(pipx list | grep -oP '(?<=package )uv.*?bin' | head -n1)" >> $GITHUB_OUTPUT - lint: - needs: setup + name: ruff lint runs-on: ubuntu-latest - env: - PATH: ${{ needs.setup.outputs.uv-path }}:$PATH - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: ${{ env.PYTHON_VERSION }} - - name: Install ruff - run: uv pip install ruff - - - name: Run ruff check - run: uv run ruff check pythonbooks --fix - - test: - needs: setup - runs-on: ubuntu-latest - env: - PATH: ${{ needs.setup.outputs.uv-path }}:$PATH steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: ${{ env.PYTHON_VERSION }} + - name: checkout repo + uses: actions/checkout@v4 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: ${{ env.UV_CACHE_DIR }} - key: uv-${{ hashFiles('pythonbooks/requirements.txt') }} + - name: install uv + uses: astral-sh/setup-uv@v1 - - name: Install requirements - run: uv pip install -r pythonbooks/requirements.txt + - name: install dependencies + run: uv pip install -r requirements.txt - - name: Run tests - run: uv run pytest pythonbooks - - deploy: - needs: [lint, test] - runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' - steps: - - uses: actions/checkout@v4 - - run: echo "deploy" + - name: run ruff with --fix + run: uv pip run ruff . --fix From 295b95cdbbf954665b35d1cb8a34622174463149 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:22:59 +0300 Subject: [PATCH 08/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4df23d0..5cda772 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: lint: - name: ruff lint + name: ruff lint with fix runs-on: ubuntu-latest steps: @@ -14,8 +14,19 @@ jobs: - name: install uv uses: astral-sh/setup-uv@v1 + - name: create virtual environment + run: uv venv .venv + + - name: cache uv + uses: actions/cache@v4 + with: + path: ~/.cache/uv + key: ${{ runner.os }}-uv-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-uv- + - name: install dependencies - run: uv pip install -r requirements.txt + run: UV_VENV=.venv uv pip install -r requirements.txt - name: run ruff with --fix - run: uv pip run ruff . --fix + run: UV_VENV=.venv uv pip run ruff . --fix From 2311737dfe544c2feece9fb68e15655cf389480a Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:24:28 +0300 Subject: [PATCH 09/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cda772..5c80bab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,4 +29,4 @@ jobs: run: UV_VENV=.venv uv pip install -r requirements.txt - name: run ruff with --fix - run: UV_VENV=.venv uv pip run ruff . --fix + run: UV_VENV=.venv uv run ruff . --fix From 66e75ded3f552f19c0cdd734c0fad4841a423f12 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:26:06 +0300 Subject: [PATCH 10/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c80bab..257a685 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,4 +29,4 @@ jobs: run: UV_VENV=.venv uv pip install -r requirements.txt - name: run ruff with --fix - run: UV_VENV=.venv uv run ruff . --fix + run: UV_VENV=.venv uv run -- ruff . --fix From cbcf8b986b1e3a491018b92701e0fa2e0561a5ec Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:32:22 +0300 Subject: [PATCH 11/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 257a685..bcabc2a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,27 +6,23 @@ jobs: lint: name: ruff lint with fix runs-on: ubuntu-latest - steps: - name: checkout repo uses: actions/checkout@v4 - - name: install uv - uses: astral-sh/setup-uv@v1 + - name: set up python + uses: actions/setup-python@v5 + with: + python-version: "3.x" - - name: create virtual environment - run: uv venv .venv + - name: install uv + run: pip install uv - - name: cache uv - uses: actions/cache@v4 - with: - path: ~/.cache/uv - key: ${{ runner.os }}-uv-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-uv- + - name: install dependencies with uv + run: uv pip install -r pythonbooks/requirements.txt - - name: install dependencies - run: UV_VENV=.venv uv pip install -r requirements.txt + - name: install ruff + run: uv pip install ruff - - name: run ruff with --fix - run: UV_VENV=.venv uv run -- ruff . --fix + - name: run ruff with autofix + run: ruff check --fix pythonbooks/ \ No newline at end of file From eaa61769e73938fd2308159c83e76519012d18e3 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:35:14 +0300 Subject: [PATCH 12/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bcabc2a..e018805 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,10 +19,10 @@ jobs: run: pip install uv - name: install dependencies with uv - run: uv pip install -r pythonbooks/requirements.txt + run: uv pip install -r requirements.txt - name: install ruff run: uv pip install ruff - name: run ruff with autofix - run: ruff check --fix pythonbooks/ \ No newline at end of file + run: ruff check --fix . \ No newline at end of file From 7ce0af98cb0bebbc751a5a6de44ab282930a3126 Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:45:33 +0300 Subject: [PATCH 13/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e018805..4fd7a0e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,14 +15,10 @@ jobs: with: python-version: "3.x" - - name: install uv - run: pip install uv - - - name: install dependencies with uv - run: uv pip install -r requirements.txt - - - name: install ruff - run: uv pip install ruff + - name: install ruff via uv + run: | + pip install uv + uv pip install ruff - name: run ruff with autofix run: ruff check --fix . \ No newline at end of file From 7d1fdf3e55a6217d151917d040e2ae7c9e584e1c Mon Sep 17 00:00:00 2001 From: BerdyshevEugene Date: Fri, 16 May 2025 16:49:19 +0300 Subject: [PATCH 14/14] feat: add ruff check in github actions --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4fd7a0e..86f5d69 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,8 @@ jobs: - name: install ruff via uv run: | pip install uv - uv pip install ruff + uv venv .venv + UV_VENV=.venv uv pip install ruff - name: run ruff with autofix - run: ruff check --fix . \ No newline at end of file + run: UV_VENV=.venv uv run -- ruff check . --fix \ No newline at end of file