Skip to content

Commit

Permalink
ruff: 0.8.6 -> 0.9.0 (#372389)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Jan 10, 2025
2 parents 9dba507 + a40c69b commit 5a350fd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 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
4 changes: 2 additions & 2 deletions pkgs/by-name/ru/ruff-lsp/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

python3Packages.buildPythonApplication rec {
pname = "ruff-lsp";
version = "0.0.59";
version = "0.0.60";
pyproject = true;

src = fetchFromGitHub {
owner = "astral-sh";
repo = "ruff-lsp";
tag = "v${version}";
hash = "sha256-fMw93EmwO0wbIcGMr7csXkMRzgyQJNQzgLDZQqNB8Zc=";
hash = "sha256-Qo2pzDjdlhIpKfldPbL9VsO1AaSc1bW5t1i1Nqu7alA=";
};

build-system = with python3Packages; [ hatchling ];
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 5a350fd

Please sign in to comment.