Skip to content

Commit

Permalink
Merge pull request #199 from glotzerlab/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
joaander authored Oct 2, 2023
2 parents ee641db + 1e90977 commit d347ff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ repos:
- --keep-after=.. include
- --comment-prefix=..
- repo: https://github.com/google/yapf
rev: 'v0.40.0'
rev: 'v0.40.2'
hooks:
- id: yapf
- repo: https://github.com/PyCQA/flake8
rev: '6.0.0'
rev: '6.1.0'
hooks:
- id: flake8
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion fresnel/interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# https://github.com/jupyter/qtconsole/pull/280
try:
import IPython.external.qt_loaders
if type(sys.meta_path[0]) == IPython.external.qt_loaders.ImportDenier:
if type(sys.meta_path[0]) is IPython.external.qt_loaders.ImportDenier:
del sys.meta_path[0]
except: # noqa
pass
Expand Down

0 comments on commit d347ff8

Please sign in to comment.