Skip to content

Commit 24a33a2

Browse files
benfdkingCopilot
andcommitted
Update sqlmesh/core/linter/rules/builtin.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a527888 commit 24a33a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlmesh/core/linter/rules/builtin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ class NoUnregisteredExternalModels(Rule):
116116
def check_model(self, model: Model) -> t.Optional[RuleViolation]:
117117
depends_on = model.depends_on
118118

119-
# Ignore external models themselves, because either they are registered
120-
# if they are not, they will be caught as referenced in another model.
119+
# Ignore external models themselves, because either they are registered,
120+
# and if they are not, they will be caught as referenced in another model.
121121
if isinstance(model, ExternalModel):
122122
return None
123123

0 commit comments

Comments
 (0)