Skip to content

Commit

Permalink
feat/ci/docs: support Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Aug 11, 2024
1 parent 0b5173a commit a6b4910
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:

test:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]

steps:
- name: Checkout repository
Expand All @@ -56,7 +59,7 @@ jobs:
- name: Setup PDM
uses: pdm-project/[email protected]
with:
python-version: '*'
python-version: ${{ matrix.python-version }}
cache: true

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# KeyWin

[![python](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12-blue)](https://www.python.org/)
[![python](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12-blue)](https://www.python.org/)
[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/PyCQA/pylint)
[![main.yml](https://github.com/winstxnhdw/KeyWin/actions/workflows/main.yml/badge.svg)](https://github.com/winstxnhdw/KeyWin/actions/workflows/main.yml)
[![formatter.yml](https://github.com/winstxnhdw/KeyWin/actions/workflows/formatter.yml/badge.svg)](https://github.com/winstxnhdw/KeyWin/actions/workflows/formatter.yml)
Expand Down
2 changes: 2 additions & 0 deletions keywin/mouse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from keywin.mouse.codes import MouseCodes
from keywin.send_input import send_mouse_event

Expand Down
2 changes: 2 additions & 0 deletions keywin/send_input/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# pylint: skip-file

from __future__ import annotations

from typing import Iterable

def send_mouse_event(inputs: Iterable[tuple[int, int, int, int]]) -> bool:
Expand Down
6 changes: 3 additions & 3 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pdm_build.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from sys import platform
from typing import TypedDict

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ version = "0.1.0"
authors = [{ name = "winstxnhdw", email = "[email protected]" }]
description = "A fast Python wrapper for Win32's SendInput function."
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit a6b4910

Please sign in to comment.