make ruff happy

This commit is contained in:
Benedikt Bartscher 2024-10-20 18:08:40 +02:00
parent c74e8b97bc
commit 1f0eb18a17
No known key found for this signature in database

View File

@ -300,7 +300,7 @@ class Config(Base):
# Convert the env var to the expected type.
try:
if field.type_ == bool or (
if field.type_ is bool or (
issubclass(field.type_, type) and issubclass(field.type_, bool)
):
# special handling for bool values