diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc26637d12..5e852dd4b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.3.2' + rev: 'v0.3.3' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/dvc/repo/experiments/utils.py b/dvc/repo/experiments/utils.py index d3dcb276b5..14236ee42d 100644 --- a/dvc/repo/experiments/utils.py +++ b/dvc/repo/experiments/utils.py @@ -287,7 +287,7 @@ def gen_random_name(): # fmt: on # Use custom random generator to make sure that names are random even if # global random seed is set (common for ML pipelines). - random_generator = random.Random() + random_generator = random.Random() # noqa: S311 adjective = random_generator.choice(ADJECTIVES) noun = random_generator.choice(NOUNS) return f"{adjective}-{noun}"