Skip to content

Commit

Permalink
Merge pull request #501 from kurtmckee/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
kurtmckee authored Feb 4, 2025
2 parents 247953d + 5c023fa commit f954514
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
- "--py39-plus"

- repo: "https://github.com/psf/black-pre-commit-mirror"
rev: "24.10.0"
rev: "25.1.0"
hooks:
- id: "black"

Expand All @@ -56,7 +56,7 @@ repos:
- id: "editorconfig-checker"

- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "0.31.0"
rev: "0.31.1"
hooks:
- id: "check-dependabot"
- id: "check-github-workflows"
Expand Down
10 changes: 5 additions & 5 deletions feedparser/encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ def lazy_chardet_encoding(data):

# Each marker represents some of the characters of the opening XML
# processing instruction ('<?xm') in the specified encoding.
EBCDIC_MARKER = b"\x4C\x6F\xA7\x94"
UTF16BE_MARKER = b"\x00\x3C\x00\x3F"
UTF16LE_MARKER = b"\x3C\x00\x3F\x00"
UTF32BE_MARKER = b"\x00\x00\x00\x3C"
UTF32LE_MARKER = b"\x3C\x00\x00\x00"
EBCDIC_MARKER = b"\x4c\x6f\xa7\x94"
UTF16BE_MARKER = b"\x00\x3c\x00\x3f"
UTF16LE_MARKER = b"\x3c\x00\x3f\x00"
UTF32BE_MARKER = b"\x00\x00\x00\x3c"
UTF32LE_MARKER = b"\x3c\x00\x00\x00"

ZERO_BYTES = b"\x00\x00"

Expand Down

0 comments on commit f954514

Please sign in to comment.