Skip to content

Commit

Permalink
* avoid W605 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
HYLcool committed Nov 14, 2023
1 parent 103562f commit 940bdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_juicer/utils/compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def __init__(self, compressor_format: str = 'zstd'):
self.compressor_extension = '.' + compressor_format
self.compress_manager = CompressManager(
compressor_format=compressor_format)
self.pattern = re.compile('_\d{5}_of_') # noqa W605
self.pattern = re.compile(r'_\d{5}_of_')

def _get_raw_filename(self, filename: Union[Path, str]):
"""
Expand Down

0 comments on commit 940bdfc

Please sign in to comment.