Commit 76741cfd authored by figsoda's avatar figsoda Committed by zowoq
Browse files
parent 7adbcf92
Loading
Loading
Loading
Loading
+24 −10
Original line number Diff line number Diff line
@@ -132,12 +132,6 @@ dependencies = [
 "serde",
]

[[package]]
name = "bisection"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "021e079a1bab0ecce6cf4b4b74c0c37afa4a697136eb3b127875c84a8f04a8c3"

[[package]]
name = "bit-set"
version = "0.5.3"
@@ -780,7 +774,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"

[[package]]
name = "flake8-to-ruff"
version = "0.0.259"
version = "0.0.260"
dependencies = [
 "anyhow",
 "clap 4.1.8",
@@ -1982,10 +1976,9 @@ dependencies = [

[[package]]
name = "ruff"
version = "0.0.259"
version = "0.0.260"
dependencies = [
 "anyhow",
 "bisection",
 "bitflags",
 "chrono",
 "clap 4.1.8",
@@ -2033,6 +2026,8 @@ dependencies = [
 "textwrap",
 "thiserror",
 "toml",
 "typed-arena",
 "unicode-width",
]

[[package]]
@@ -2063,7 +2058,7 @@ dependencies = [

[[package]]
name = "ruff_cli"
version = "0.0.259"
version = "0.0.260"
dependencies = [
 "annotate-snippets 0.9.1",
 "anyhow",
@@ -2102,6 +2097,7 @@ dependencies = [
 "tikv-jemallocator",
 "ureq",
 "walkdir",
 "wild",
]

[[package]]
@@ -2131,6 +2127,8 @@ dependencies = [
name = "ruff_diagnostics"
version = "0.0.0"
dependencies = [
 "anyhow",
 "log",
 "ruff_python_ast",
 "rustpython-parser",
 "serde",
@@ -2254,6 +2252,7 @@ dependencies = [
 "js-sys",
 "log",
 "ruff",
 "ruff_diagnostics",
 "ruff_python_ast",
 "ruff_rustpython",
 "rustpython-parser",
@@ -2916,6 +2915,12 @@ dependencies = [
 "static_assertions",
]

[[package]]
name = "typed-arena"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"

[[package]]
name = "typenum"
version = "1.16.0"
@@ -3262,6 +3267,15 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983"

[[package]]
name = "wild"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05b116685a6be0c52f5a103334cbff26db643826c7b3735fc0a3ba9871310a74"
dependencies = [
 "glob",
]

[[package]]
name = "winapi"
version = "0.3.9"
+3 −5
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@

rustPlatform.buildRustPackage rec {
  pname = "ruff";
  version = "0.0.259";
  version = "0.0.260";

  src = fetchFromGitHub {
    owner = "charliermarsh";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-K0EfKG140MDfSg3BVJi9x0q1it5nEeREpkanx2RW1Kw=";
    hash = "sha256-n/b1L0qMyGzcDwXTLgiPrd4YgFDtxYyUKrgykkdBQWU=";
  };

  # We have to use importCargoLock here because `cargo vendor` currently doesn't support workspace
@@ -38,9 +38,7 @@ rustPlatform.buildRustPackage rec {
  ];

  cargoBuildFlags = [ "--package=ruff_cli" ];

  # building tests fails with `undefined symbols`
  doCheck = false;
  cargoTestFlags = cargoBuildFlags;

  postInstall = ''
    installShellCompletion --cmd ruff \