diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index c457af1..70351e9 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -10,16 +10,14 @@ jobs: static-check: name: Run Static Analysis runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.8"] + steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + - name: Set up Python + uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: "3.10" - name: Cache dependencies uses: actions/cache@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35e5893..0317b27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,11 +9,13 @@ on: jobs: pytest: name: Run Tests - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 timeout-minutes: 30 strategy: matrix: python-version: + - "3.5" + - "3.6" - "3.7" - "3.8" - "3.9" @@ -23,7 +25,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/.pylintrc b/.pylintrc index baa6e84..1d8227a 100644 --- a/.pylintrc +++ b/.pylintrc @@ -472,7 +472,7 @@ max-bool-expr=5 max-branches=10 # Maximum number of locals for function / method body. -max-locals=20 +max-locals=25 # Maximum number of parents for a class (see R0901). max-parents=7 @@ -484,7 +484,7 @@ max-public-methods=20 max-returns=10 # Maximum number of statements in function / method body. -max-statements=50 +max-statements=60 # Minimum number of public methods for a class (see R0903). min-public-methods=2 diff --git a/README.rst b/README.rst index f7adcaa..30627c5 100644 --- a/README.rst +++ b/README.rst @@ -10,7 +10,7 @@ Supported formats: TIFF, JPEG, PNG, Webp, HEIC Compatibility ************* -EXIF.py is tested and officially supported on Python 3.5 to 3.10 +EXIF.py is tested and officially supported on Python 3.5 to 3.11 Starting with version ``3.0.0``, Python2 compatibility is dropped *completely* (syntax errors due to type hinting).