diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d51502af2..c7260a940 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,7 +3,12 @@ on: [push, pull_request] jobs: lint: - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + # Only care about the oldest and newest versions + os: [ubuntu-22.04, ubuntu-18.04] + runs-on: ${{ matrix.os }} timeout-minutes: 10 steps: - uses: actions/checkout@v3 @@ -13,11 +18,6 @@ jobs: path: ~/.cache/pip key: ${{ matrix.os }}-cache-pip - - name: Set up Python 3.8 - uses: actions/setup-python@v4 - with: - python-version: 3.8 - - name: Install dependencies run: | ./setup.sh --user diff --git a/pwndbg/heap/ptmalloc.py b/pwndbg/heap/ptmalloc.py index 0158b47a3..d13f541aa 100644 --- a/pwndbg/heap/ptmalloc.py +++ b/pwndbg/heap/ptmalloc.py @@ -5,7 +5,7 @@ from enum import Enum from typing import Any from typing import Dict from typing import Set -from typing import Union +from typing import Union # noqa: F401 import gdb diff --git a/pwndbg/lib/memoize.py b/pwndbg/lib/memoize.py index 52b8155da..57187a72e 100644 --- a/pwndbg/lib/memoize.py +++ b/pwndbg/lib/memoize.py @@ -10,7 +10,7 @@ from collections.abc import Hashable from typing import Any from typing import Callable from typing import Dict -from typing import List +from typing import List # noqa: F401 debug = False