diff --git a/nixos/lib/test-driver/src/test_driver/__init__.py b/nixos/lib/test-driver/src/test_driver/__init__.py index 42b6d29b767148..1c0793aa75a5f4 100755 --- a/nixos/lib/test-driver/src/test_driver/__init__.py +++ b/nixos/lib/test-driver/src/test_driver/__init__.py @@ -145,7 +145,7 @@ def main() -> None: tic = time.time() driver.run_tests() toc = time.time() - logger.info(f"test script finished in {(toc-tic):.2f}s") + logger.info(f"test script finished in {(toc - tic):.2f}s") def generate_driver_symbols() -> None: diff --git a/nixos/lib/test-driver/src/test_driver/machine.py b/nixos/lib/test-driver/src/test_driver/machine.py index c423ad8a3fc07d..b554f73167794a 100644 --- a/nixos/lib/test-driver/src/test_driver/machine.py +++ b/nixos/lib/test-driver/src/test_driver/machine.py @@ -702,8 +702,7 @@ def wait_for_qmp_event( def get_tty_text(self, tty: str) -> str: status, output = self.execute( - f"fold -w$(stty -F /dev/tty{tty} size | " - f"awk '{{print $2}}') /dev/vcs{tty}" + f"fold -w$(stty -F /dev/tty{tty} size | awk '{{print $2}}') /dev/vcs{tty}" ) return output diff --git a/pkgs/by-name/ru/ruff/package.nix b/pkgs/by-name/ru/ruff/package.nix index 223f777357c8ea..b9fd33fc131958 100644 --- a/pkgs/by-name/ru/ruff/package.nix +++ b/pkgs/by-name/ru/ruff/package.nix @@ -17,17 +17,17 @@ rustPlatform.buildRustPackage rec { pname = "ruff"; - version = "0.8.6"; + version = "0.9.0"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ruff"; tag = version; - hash = "sha256-9YvHmNiKdf5hKqy9tToFSQZM2DNLoIiChcfjQay8wbU="; + hash = "sha256-OAhjatPzwvLT3HyXYPzaL5pAC5CH75CyMmFo0c4726I="; }; useFetchCargoVendor = true; - cargoHash = "sha256-aTzTCDCMhG4cKD9wFNHv6A3VBUifnKgI8a6kelc3bAM="; + cargoHash = "sha256-vroKiwouk2E2WYB/B+8zszXqer5pENDYrxcrCQ17mF0="; nativeBuildInputs = [ installShellFiles ];