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 Sep 22, 2023
1 parent 9a51294 commit ceab71e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pipelines/utils/metadata/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,9 @@ def update_django_metadata(
"days": "days",
}


if not isinstance(_last_date, str) and _last_date is not None:
raise ValueError("O parâmetro `last_date` deve ser uma string não nula")


if time_unit not in unidades_permitidas:
raise ValueError(
f"Unidade temporal inválida. Escolha entre {', '.join(unidades_permitidas.keys())}"
Expand Down

0 comments on commit ceab71e

Please sign in to comment.