Skip to content

Commit

Permalink
Fix typos discovered by codespell (#160)
Browse files Browse the repository at this point in the history
* CHANGELIST.rst: Fix typo

* test_bufferedreaders.py: Fix typos

* recordloader.py: Fix typo

* archiveiterator.py: Fix typos
  • Loading branch information
cclauss authored Mar 21, 2024
1 parent aa702cb commit 8c305f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELIST.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
1.7.2
~~~~~

- Ensure 1.1 revisit profile used with WARC/1.1 revists `#96 <https://github.com/webrecorder/warcio/pull/96>`_
- Ensure 1.1 revisit profile used with WARC/1.1 revisits `#96 <https://github.com/webrecorder/warcio/pull/96>`_

- Include record offsets in ``warcio check`` output `#98 <https://github.com/webrecorder/warcio/pull/98>`_

Expand Down
2 changes: 1 addition & 1 deletion test/test_bufferedreaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
>>> print_str(ChunkedDataReader(BytesIO(compress('ABCDEF')), decomp_type='gzip').read())
'ABCDEF'
Non-chunked, compressed data, specifiy compression seperately
Non-chunked, compressed data, specify compression separately
>>> c = ChunkedDataReader(BytesIO(compress('ABCDEF'))); c.set_decomp('gzip'); print_str(c.read())
'ABCDEF'
Expand Down
2 changes: 1 addition & 1 deletion warcio/archiveiterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _consume_blanklines(self):
- For uncompressed, they are between records and so are NOT part of
the record length
count empty_size so that it can be substracted from
count empty_size so that it can be subtracted from
the record length for uncompressed
if first line read is not blank, likely error in WARC/ARC,
Expand Down
2 changes: 1 addition & 1 deletion warcio/recordloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def parse_record_stream(self, stream,
and a stream limited to the remainder of the record.
Pass statusline and known_format to detect_type_loader_headers()
to faciliate parsing.
to facilitate parsing.
"""
(the_format, rec_headers) = (self.
_detect_type_load_headers(stream,
Expand Down

0 comments on commit 8c305f5

Please sign in to comment.