Skip to content

Commit

Permalink
ruff: 0.8.6 -> 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 9, 2025
1 parent cfbd2d1 commit 035a133
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nixos/lib/test-driver/src/test_driver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions nixos/lib/test-driver/src/test_driver/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ru/ruff/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];

Expand Down

0 comments on commit 035a133

Please sign in to comment.