mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -61,7 +61,7 @@ def decode_permalink_id(key: str, salt: str) -> int:
|
||||
|
||||
|
||||
def get_uuid_namespace(seed: str) -> UUID:
|
||||
md5_obj = md5()
|
||||
md5_obj = md5() # noqa: S324
|
||||
md5_obj.update(seed.encode("utf-8"))
|
||||
return UUID(md5_obj.hexdigest())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user