Skip to content

Commit

Permalink
PEP8: Avoid bare exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Dec 11, 2023
1 parent 93ec630 commit e06945f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap_datepicker_plus/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
try:
from pydantic import Field, validator
from pydantic.env_settings import BaseSettings, SettingsSourceCallable
except: # pragma: no cover
except ImportError:
from pydantic.v1.env_settings import BaseSettings, SettingsSourceCallable # type: ignore
from pydantic.v1 import Field, validator # type: ignore

Expand Down

0 comments on commit e06945f

Please sign in to comment.