Skip to content

Commit

Permalink
Merge pull request #357 from kurtmckee/run-pre-commit
Browse files Browse the repository at this point in the history
Fix issues found by pre-commit hooks
  • Loading branch information
kurtmckee committed Apr 10, 2023
2 parents 37f34bd + 098260c commit 5313544
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/examples/examples/nonstandard_prefix.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
Americans are fat. Smokers are stupid. People who don't speak Perl are irrelevant.
</description>
</item>
</rdf:RDF>
</rdf:RDF>
2 changes: 1 addition & 1 deletion docs/examples/examples/prism.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
Americans are fat. Smokers are stupid. People who don't speak Perl are irrelevant.
</description>
</item>
</rdf:RDF>
</rdf:RDF>
2 changes: 1 addition & 1 deletion docs/examples/examples/rss10.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
</a></q>]]>
</content:encoded>
</item>
</rdf:RDF>
</rdf:RDF>
1 change: 0 additions & 1 deletion docs/extensions/variable_substitutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import os


READTHEDOCS_CANONICAL_URL = os.getenv(
"READTHEDOCS_CANONICAL_URL",
"https://domain.example/",
Expand Down
4 changes: 1 addition & 3 deletions tests/test_open_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@


def test_fileobj():
r = feedparser.api._open_resource(
io.BytesIO(b""), {}
).read()
r = feedparser.api._open_resource(io.BytesIO(b""), {}).read()
assert r == b""


Expand Down

0 comments on commit 5313544

Please sign in to comment.