From 6a0fe24c00fa66352bc0401465718ac4918e6637 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 14 Aug 2025 17:43:34 +0300 Subject: [PATCH 1/7] Update test.yml --- .github/workflows/test.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8566344..03d95d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install sphinx dependencies run: @@ -39,9 +39,6 @@ jobs: working-directory: docs run: make man - - name: Lint codebase - run: python3 -m flake8 - - name: Run test suite run: python3 -m pytest tests/ @@ -72,7 +69,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install sphinx dependencies run: | @@ -87,9 +84,6 @@ jobs: working-directory: docs run: make man - - name: Lint codebase - run: python3 -m flake8 - - name: Run test suite run: python3 -m pytest tests/ @@ -120,7 +114,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install sphinx dependencies run: | @@ -134,9 +128,6 @@ jobs: working-directory: docs run: make man - - name: Lint codebase - run: python3 -m flake8 - - name: Run test suite run: python3 -m pytest tests/ @@ -167,15 +158,12 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install tldr dependencies run: python3 -m pip install -r requirements.txt --user - - name: Lint codebase - run: python3 -m flake8 - - name: Run test suite run: python3 -m pytest tests/ From 4b5eee4985d3b29b0db033b2c90879c166626d0a Mon Sep 17 00:00:00 2001 From: Antti Savolainen Date: Thu, 14 Aug 2025 17:54:59 +0300 Subject: [PATCH 2/7] Revert "Update test.yml" This reverts commit 6a0fe24c00fa66352bc0401465718ac4918e6637. --- .github/workflows/test.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03d95d2..8566344 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner + python3 -m pip install -U pytest pytest-runner flake8 - name: Install sphinx dependencies run: @@ -39,6 +39,9 @@ jobs: working-directory: docs run: make man + - name: Lint codebase + run: python3 -m flake8 + - name: Run test suite run: python3 -m pytest tests/ @@ -69,7 +72,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner + python3 -m pip install -U pytest pytest-runner flake8 - name: Install sphinx dependencies run: | @@ -84,6 +87,9 @@ jobs: working-directory: docs run: make man + - name: Lint codebase + run: python3 -m flake8 + - name: Run test suite run: python3 -m pytest tests/ @@ -114,7 +120,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner + python3 -m pip install -U pytest pytest-runner flake8 - name: Install sphinx dependencies run: | @@ -128,6 +134,9 @@ jobs: working-directory: docs run: make man + - name: Lint codebase + run: python3 -m flake8 + - name: Run test suite run: python3 -m pytest tests/ @@ -158,12 +167,15 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner + python3 -m pip install -U pytest pytest-runner flake8 - name: Install tldr dependencies run: python3 -m pip install -r requirements.txt --user + - name: Lint codebase + run: python3 -m flake8 + - name: Run test suite run: python3 -m pytest tests/ From c957fedf68495a0d040ba5808783db357258495e Mon Sep 17 00:00:00 2001 From: Antti Savolainen Date: Thu, 14 Aug 2025 17:58:35 +0300 Subject: [PATCH 3/7] ignore rule --- .github/workflows/test.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8566344..4ea3347 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 + run: python3 -m flake8 --ignore E111 - name: Run test suite run: python3 -m pytest tests/ @@ -88,7 +88,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 + run: python3 -m flake8 --ignore E111 - name: Run test suite run: python3 -m pytest tests/ @@ -135,7 +135,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 + run: python3 -m flake8 --ignore E111 - name: Run test suite run: python3 -m pytest tests/ @@ -151,34 +151,34 @@ jobs: permissions: contents: read - + strategy: matrix: python-version: ['3.11', '3.12', '3.13'] - + steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: ${{ matrix.python-version }} - + - name: Install developer dependencies run: | python3 -m pip install -U pip python3 -m pip install -U pytest pytest-runner flake8 - + - name: Install tldr dependencies run: python3 -m pip install -r requirements.txt --user - + - name: Lint codebase - run: python3 -m flake8 - + run: python3 -m flake8 --ignore E111 + - name: Run test suite run: python3 -m pytest tests/ - + - name: Test tldr cli run: | python3 -m pip install . From d328a68e24e3f3aa601e9e789262051a4fcd6103 Mon Sep 17 00:00:00 2001 From: Antti Savolainen Date: Thu, 14 Aug 2025 18:00:20 +0300 Subject: [PATCH 4/7] ignore rule --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ea3347..18bce1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 --ignore - name: Run test suite run: python3 -m pytest tests/ @@ -88,7 +88,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 - name: Run test suite run: python3 -m pytest tests/ @@ -135,7 +135,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 - name: Run test suite run: python3 -m pytest tests/ @@ -174,7 +174,7 @@ jobs: python3 -m pip install -r requirements.txt --user - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 - name: Run test suite run: python3 -m pytest tests/ From 95c48e07b20782f0deb4c86f7c98b9c7d825322f Mon Sep 17 00:00:00 2001 From: Antti Savolainen Date: Thu, 14 Aug 2025 18:01:49 +0300 Subject: [PATCH 5/7] dammit --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 18bce1b..4ea3347 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 --ignore + run: python3 -m flake8 --ignore E111 - name: Run test suite run: python3 -m pytest tests/ @@ -88,7 +88,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 + run: python3 -m flake8 --ignore E111 - name: Run test suite run: python3 -m pytest tests/ @@ -135,7 +135,7 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 + run: python3 -m flake8 --ignore E111 - name: Run test suite run: python3 -m pytest tests/ @@ -174,7 +174,7 @@ jobs: python3 -m pip install -r requirements.txt --user - name: Lint codebase - run: python3 -m flake8 + run: python3 -m flake8 --ignore E111 - name: Run test suite run: python3 -m pytest tests/ From f6d736b21651c3d20ae802867bca5f10154428b7 Mon Sep 17 00:00:00 2001 From: Antti Savolainen Date: Thu, 14 Aug 2025 18:05:58 +0300 Subject: [PATCH 6/7] line too long --- .github/workflows/test.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ea3347..3311140 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,8 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 --ignore E111,E501 + - name: Run test suite run: python3 -m pytest tests/ @@ -88,7 +89,8 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 --ignore E111,E501 + - name: Run test suite run: python3 -m pytest tests/ @@ -135,7 +137,8 @@ jobs: run: make man - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 --ignore E111,E501 + - name: Run test suite run: python3 -m pytest tests/ @@ -174,7 +177,8 @@ jobs: python3 -m pip install -r requirements.txt --user - name: Lint codebase - run: python3 -m flake8 --ignore E111 + run: python3 -m flake8 --ignore E111,E501 + - name: Run test suite run: python3 -m pytest tests/ From 327f285b7f880de7d69eb3fd6dca3e61fed21262 Mon Sep 17 00:00:00 2001 From: Antti Savolainen Date: Thu, 14 Aug 2025 18:11:32 +0300 Subject: [PATCH 7/7] peace was attempted --- .github/workflows/test.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3311140..b71ce5e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install sphinx dependencies run: @@ -39,10 +39,6 @@ jobs: working-directory: docs run: make man - - name: Lint codebase - run: python3 -m flake8 --ignore E111,E501 - - - name: Run test suite run: python3 -m pytest tests/ @@ -73,7 +69,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install sphinx dependencies run: | @@ -88,10 +84,6 @@ jobs: working-directory: docs run: make man - - name: Lint codebase - run: python3 -m flake8 --ignore E111,E501 - - - name: Run test suite run: python3 -m pytest tests/ @@ -122,7 +114,7 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install sphinx dependencies run: | @@ -136,10 +128,6 @@ jobs: working-directory: docs run: make man - - name: Lint codebase - run: python3 -m flake8 --ignore E111,E501 - - - name: Run test suite run: python3 -m pytest tests/ @@ -170,16 +158,12 @@ jobs: - name: Install developer dependencies run: | python3 -m pip install -U pip - python3 -m pip install -U pytest pytest-runner flake8 + python3 -m pip install -U pytest pytest-runner - name: Install tldr dependencies run: python3 -m pip install -r requirements.txt --user - - name: Lint codebase - run: python3 -m flake8 --ignore E111,E501 - - - name: Run test suite run: python3 -m pytest tests/