Skip to content

Commit

Permalink
update pre-commit hooks
Browse files Browse the repository at this point in the history
Update Release.md
Closes #79
Includes recommended black linting
  • Loading branch information
MinchinWeb committed Mar 7, 2024
1 parent 4147a26 commit d08097f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:
# See https://pre-commit.com/hooks.html for info on hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -21,30 +21,30 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.2.0
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
args: [--max-line-length=88]
language_version: python3

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: v3.8.0
rev: v3.15.1
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/hakancelikdev/unimport
rev: 0.16.0
rev: 1.2.1
hooks:
- id: unimport
args: [--remove, --include-star-import]
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Release type: patch
*bug*: Wait before we actually need to process the image for checking if Pillow can handle it; this avoids loading the image needlessly. See [Pull Request #72](https://github.com/pelican-plugins/image-process/pull/72). Thanks [Patrick Fournier](https://github.com/patrickfournier)!
*bug*: Fix incorrect cropping transformation documentation. See [Pull Request #77](https://github.com/pelican-plugins/image-process/pull/77). Thanks [Lance Goyke](https://github.com/lancegoyke)!
*bug*: Support `lxml` v5. See [Issue #80](https://github.com/pelican-plugins/image-process/issues/80). Thanks [MinchinWeb](https://github.com/MinchinWeb)!
*support*: Update pre-commit hook versions.
1 change: 1 addition & 0 deletions pelican/plugins/image_process/image_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
This plugin process images according to their class attribute.
"""

import codecs
import collections
import copy
Expand Down

0 comments on commit d08097f

Please sign in to comment.