Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/_test-code-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
python-version:
- "3.8"
- "3.12"
- "3.14"
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- "windows-2022"
python-version:
- "3.8"
- "3.12"
- "3.14"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test-regressions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- "windows-2022"
python-version:
- "3.8"
- "3.12"
- "3.14"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_test-units.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- "3.11"
- "3.12"
- "3.13"
- "3.14"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
]

- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
rev: v8.28.0
hooks:
- id: gitleaks

Expand Down
3 changes: 1 addition & 2 deletions mindee/pdf/pdf_compressor.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import io
import logging
from ctypes import c_char_p, c_ushort
from ctypes import POINTER, c_char_p, c_ushort
from threading import RLock
from typing import BinaryIO, List, Optional, Tuple, Union

import pypdfium2 as pdfium
import pypdfium2.raw as pdfium_c
from _ctypes import POINTER
from PIL import Image

from mindee.image_operations.image_compressor import compress_image
Expand Down
2 changes: 1 addition & 1 deletion tests/input/test_url_input_source_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def output_file_path():

@pytest.fixture
def reference_file_path():
return "https://github.com/mindee/client-lib-test-data/blob/main/products/invoice_splitter/invoice_5p.pdf?raw=true"
return "https://github.com/mindee/client-lib-test-data/blob/main/v1/products/invoice_splitter/invoice_5p.pdf?raw=true"


@pytest.mark.integration
Expand Down
2 changes: 0 additions & 2 deletions tests/test_client_v2_integration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
from pathlib import Path

Expand Down