From d10575f7b202318b59a26c774a2e8f7689619c4b Mon Sep 17 00:00:00 2001 From: L1ghtn1ng Date: Sun, 24 Nov 2024 06:00:10 +0000 Subject: [PATCH] always get the latest version of ruff --- pyproject.toml | 5 +++++ requirements/dev.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bdc37b27159..8409e672f99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,6 +56,11 @@ show_traceback = true show_error_codes = true namespace_packages = true +# astral.sh tools setup +[tool.uv] +python-preference = "managed" +upgrade-package = ["ruff"] + [tool.ruff] # Exclude a variety of commonly ignored directories. exclude = [ diff --git a/requirements/dev.txt b/requirements/dev.txt index ef9088eb63b..0ed6c6b36a8 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -8,5 +8,5 @@ types-ujson==5.10.0.20240515 types-PyYAML==6.0.12.20240917 types-requests==2.32.0.20241016 # 2.31.0.7 introduced a regression types-python-dateutil==2.9.0.20241003 -ruff==0.8.0 +ruff wheel==0.45.0 \ No newline at end of file