Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#902)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ryan Ly <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and rly authored Aug 8, 2023
1 parent b9047de commit ca7722f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
# hooks:
# - id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.276
rev: v0.0.282
hooks:
- id: ruff
# - repo: https://github.com/econchick/interrogate
Expand Down
2 changes: 1 addition & 1 deletion src/hdmf/backends/hdf5/h5_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def filter_available(filter, allow_plugin_filters):
if filter in h5py_filters.encode:
return True
elif allow_plugin_filters is True:
if type(filter) == int:
if isinstance(filter, int):
if h5py_filters.h5z.filter_avail(filter):
filter_info = h5py_filters.h5z.get_filter_info(filter)
if filter_info == (h5py_filters.h5z.FILTER_CONFIG_DECODE_ENABLED +
Expand Down

0 comments on commit ca7722f

Please sign in to comment.