Skip to content

Commit

Permalink
Test on latest OS and Python versions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Oct 14, 2024
1 parent 7b1d67d commit 4bf0fc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-20.04
- ubuntu-24.04
- macos-12
- macos-11
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -29,13 +27,12 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install bandit flake8 pylint
- name: Lint with flake8
Expand All @@ -52,7 +49,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-24.04
builder:
- docker
- podman
Expand Down
2 changes: 1 addition & 1 deletion weercd.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def send(self, message):
"""Send an IRC message to the client."""
self.conn.send(message)

# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments, too-many-positional-arguments
def send_command(self, command, data, nick=None, host="", target=None):
"""Send an IRC command to the client."""
if nick is None:
Expand Down

0 comments on commit 4bf0fc7

Please sign in to comment.