Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix: pre-commit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
urimandujano committed Feb 1, 2024
1 parent 4551399 commit 7d1b4d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion prefect_kubernetes/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ def _slugify_label_key(key: str, max_length: int = 63, prefix_max_length=253) ->
prefix,
max_length=prefix_max_length,
regex_pattern=r"[^a-zA-Z0-9-\.]+",
).strip("_-.") # Must start or end with alphanumeric characters
).strip(
"_-."
) # Must start or end with alphanumeric characters
or prefix
)

Expand Down

0 comments on commit 7d1b4d2

Please sign in to comment.