Skip to content

Commit 7f47085

Browse files
[pre-commit.ci] pre-commit autoupdate (#200)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 08e400b commit 7f47085

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: isort
2020

2121
- repo: https://github.com/psf/black
22-
rev: 23.12.1
22+
rev: 24.1.1
2323
hooks:
2424
- id: black
2525

tests/orientation_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ def get_xmp_with_orientation(orientation: int, style=1) -> str:
2222
' <rdf:Description rdf:about=""\n'
2323
' xmlns:exif="http://ns.adobe.com/exif/1.0/"\n'
2424
' xmlns:tiff="http://ns.adobe.com/tiff/1.0/"\n'
25-
' tiff:Orientation="'
26-
+ str(orientation)
27-
+ '"/>\n </rdf:RDF>\n</x:xmpmeta>\n<?xpacket end="r"?>'
25+
' tiff:Orientation="' + str(orientation) + '"/>\n </rdf:RDF>\n</x:xmpmeta>\n<?xpacket end="r"?>'
2826
)
2927
xmp_2 = (
3028
'<?xpacket begin="\xef\xbb\xbf" id="W5M0MpCehiHzreSzNTczkc9d"?>\n'

0 commit comments

Comments
 (0)