Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Jan 14, 2025
1 parent 1d32acf commit a18222c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pooch/processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def _extract_file(self, fname, extract_dir):
This method receives an argument for the archive to extract and the
destination path.
"""
filter_kwarg = dict() if sys.version_info < (3, 12) else dict(filter="data")
filter_kwarg = {} if sys.version_info < (3, 12) else {"filter": "data"}
with TarFile.open(fname, "r") as tar_file:
if self.members is None:
get_logger().info(
Expand Down

0 comments on commit a18222c

Please sign in to comment.