Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 18, 2021
1 parent 15a16b1 commit ee85315
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions dbt_sugar/core/task/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ def remove_excluded_models(self, content: Dict[str, Any]) -> Optional[List[Dict[
return [
model_dict
for model_dict in models
if model_dict["name"]
not in self._sugar_config.dbt_project_info["excluded_models"]
if model_dict["name"] not in self._sugar_config.dbt_project_info["excluded_models"]
]

return None
Expand Down
1 change: 0 additions & 1 deletion dbt_sugar/core/task/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ def document_columns(
question_type in allowed_question_types_map
), f"question_type must be one of those: {list(allowed_question_types_map.keys())}"


# set up pagination messaging
columns_names = list(columns.keys())
number_of_colums_to_document = len(columns_names)
Expand Down

0 comments on commit ee85315

Please sign in to comment.