diff --git a/.github/workflows/github-ci.yaml b/.github/workflows/github-ci.yaml index b35897d..f302b58 100644 --- a/.github/workflows/github-ci.yaml +++ b/.github/workflows/github-ci.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Checkout Code diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bdb0f26..e27e3e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # pre-commit run --all-files repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-ast - id: check-byte-order-marker @@ -18,34 +18,34 @@ repos: - id: check-added-large-files args: ['--maxkb=1000'] - repo: https://github.com/psf/black - rev: 23.12.0 + rev: 24.10.0 hooks: - id: black args: [--target-version, py36] - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.19.1 hooks: - id: blacken-docs additional_dependencies: [black==22.1.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.8 + rev: v0.7.2 hooks: - id: ruff args: ['--fix'] exclude: "tests/" - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.19.0 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 args: ["--ignore", "E,W,F"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.7.1' + rev: 'v1.13.0' hooks: - id: mypy files: ^pdfly/.* diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e96b3d1..f8a5bb9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,7 +5,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: "3.12" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/pyproject.toml b/pyproject.toml index 0f9fbb6..7394a52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,8 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dependencies = [