Skip to content

Commit

Permalink
Alter SpacesInModelNameDeprecation to inherit from DynamicLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
QMalcolm committed Apr 10, 2024
1 parent 7d86fa5 commit 7b60ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/events/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def message(self) -> str:
return warning_tag(f"Deprecated functionality\n\n{description}")


class SpacesInModelNameDeprecation(WarnLevel):
class SpacesInModelNameDeprecation(DynamicLevel):
def code(self) -> str:
return "D014"

Check warning on line 418 in core/dbt/events/types.py

View check run for this annotation

Codecov / codecov/patch

core/dbt/events/types.py#L418

Added line #L418 was not covered by tests

Expand Down

0 comments on commit 7b60ab0

Please sign in to comment.