Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Jan 23, 2020
1 parent 21c3f41 commit 8bdaa69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/dbt/deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ def description(self) -> str:
def show(self, *args, **kwargs) -> None:
if self.name not in active_deprecations:
desc = self.description.format(**kwargs)
msg = printer.line_wrap_message(desc, prefix='* Deprecation Warning: ')
msg = printer.line_wrap_message(
desc, prefix='* Deprecation Warning: '
)
dbt.exceptions.warn_or_error(msg)
active_deprecations.add(self.name)

Expand Down

0 comments on commit 8bdaa69

Please sign in to comment.