Skip to content

Commit 4fddfa3

Browse files
pre-commit-ci[bot]mrbean-bremen
authored andcommitted
[pre-commit.ci] pre-commit autoupdate
updates: - [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](PyCQA/flake8@6.0.0...6.1.0) - fixed flake8 finding
1 parent 1c3e006 commit 4fddfa3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
language: python
3838
files: \.py$
3939
- repo: https://github.com/PyCQA/flake8
40-
rev: 6.0.0
40+
rev: 6.1.0
4141
hooks:
4242
- id: flake8
4343
language_version: python3

pyfakefs/fake_filesystem_unittest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def needs_patch(self, name: str) -> bool:
10901090
if name not in self.modules:
10911091
self._loaded_module_names.add(name)
10921092
return False
1093-
if name in sys.modules and type(sys.modules[name]) == self.modules[name]:
1093+
if name in sys.modules and type(sys.modules[name]) is self.modules[name]:
10941094
return False
10951095
return True
10961096

0 commit comments

Comments
 (0)