Skip to content

Commit

Permalink
Ignore unnecessary comparisson error.
Browse files Browse the repository at this point in the history
  • Loading branch information
aholmes committed Jan 10, 2025
1 parent 3837520 commit 231415f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/programming/Ligare/programming/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def _build_config(self) -> AbstractConfig:
Review the exception raised from `{ApplicationConfigBuilder[AbstractConfig].__name__}` and apply fixes through this `{ApplicationBuilder[TApp].__name__}` instance's `{ApplicationBuilder[TApp].use_configuration.__name__}` method."
) from e

if config is None:
if config is None: # pyright: ignore[reportUnnecessaryComparison]
raise BuilderBuildError(
f"The application configuration failed to load for an unknown reason. Review the `{ApplicationConfigBuilder[AbstractConfig].__name__}` instance's configuration."
)
Expand Down

0 comments on commit 231415f

Please sign in to comment.