Skip to content

Commit

Permalink
ci: Fix comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Jul 14, 2024
1 parent 0477db5 commit 7207449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_griffe/extensions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def load_extensions(
from _griffe.extensions.dataclasses import DataclassesExtension

for ext in extensions._extensions:
if type(ext) == DataclassesExtension:
if type(ext) is DataclassesExtension:
break
else:
extensions.add(*_load_extension("dataclasses")) # type: ignore[misc]
Expand Down

0 comments on commit 7207449

Please sign in to comment.