From 4799e233c23b7f9118d191a54f434e4c047691a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Sch=C3=BCller?= Date: Wed, 15 Jan 2025 18:54:23 +0100 Subject: [PATCH] pre-commit: re-enable golangci-lint Followup of #54 --- .github/workflows/pytest.yaml | 4 ++++ .pre-commit-config.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index bbaf9b0..091afc9 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -12,8 +12,12 @@ jobs: lint: runs-on: ubuntu-latest steps: + - name: Update apt repositories + run: sudo apt update - name: Install lint dependencies run: sudo apt install -y yamllint aspell pre-commit + - name: Install project dependencies + run: sudo apt install -y libgpgme-dev libbtrfs-dev - name: "Clone Repository" uses: actions/checkout@v4 - name: Set up Python diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ff9bce..5040e5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,10 +19,10 @@ repos: hooks: - id: pyspelling args: ["--config", ".spellcheck.yml"] - # - repo: https://github.com/golangci/golangci-lint - # rev: v1.63.1 - # hooks: - # - id: golangci-lint + - repo: https://github.com/golangci/golangci-lint + rev: v1.63.1 + hooks: + - id: golangci-lint - repo: https://github.com/hhatto/autopep8 rev: v2.3.0 hooks: