diff options
author | figsoda <figsoda@pm.me> | 2023-04-04 22:46:55 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-04-04 22:46:55 -0400 |
commit | 03dc88e1f9860c638721bd38ee1879d803046e68 (patch) | |
tree | 1a6e3136b6614477ffc9901a70c6ddaa7c70938f | |
parent | cc113661490442f15d0848cafdcf6a37b676972a (diff) | |
download | nixlib-03dc88e1f9860c638721bd38ee1879d803046e68.tar nixlib-03dc88e1f9860c638721bd38ee1879d803046e68.tar.gz nixlib-03dc88e1f9860c638721bd38ee1879d803046e68.tar.bz2 nixlib-03dc88e1f9860c638721bd38ee1879d803046e68.tar.lz nixlib-03dc88e1f9860c638721bd38ee1879d803046e68.tar.xz nixlib-03dc88e1f9860c638721bd38ee1879d803046e68.tar.zst nixlib-03dc88e1f9860c638721bd38ee1879d803046e68.zip |
ruff: 0.0.260 -> 0.0.261
Diff: https://github.com/charliermarsh/ruff/compare/v0.0.260...v0.0.261 Changelog: https://github.com/charliermarsh/ruff/releases/tag/v0.0.261
-rw-r--r-- | pkgs/development/tools/ruff/Cargo.lock | 31 | ||||
-rw-r--r-- | pkgs/development/tools/ruff/default.nix | 5 |
2 files changed, 25 insertions, 11 deletions
diff --git a/pkgs/development/tools/ruff/Cargo.lock b/pkgs/development/tools/ruff/Cargo.lock index 9106ce0a71ca..8b760b7642ad 100644 --- a/pkgs/development/tools/ruff/Cargo.lock +++ b/pkgs/development/tools/ruff/Cargo.lock @@ -774,7 +774,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flake8-to-ruff" -version = "0.0.260" +version = "0.0.261" dependencies = [ "anyhow", "clap 4.1.8", @@ -1543,8 +1543,9 @@ checksum = "9fa00462b37ead6d11a82c9d568b26682d78e0477dc02d1966c013af80969739" [[package]] name = "pep440_rs" -version = "0.2.0" -source = "git+https://github.com/konstin/pep440-rs.git?rev=a8fef4ec47f4c25b070b39cdbe6a0b9847e49941#a8fef4ec47f4c25b070b39cdbe6a0b9847e49941" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5daf676dd9ff1a39faf9c9da9c46f0dbb6211b21a1839a749f5510c24ceca3f" dependencies = [ "lazy_static", "regex", @@ -1976,7 +1977,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.0.260" +version = "0.0.261" dependencies = [ "anyhow", "bitflags", @@ -2009,6 +2010,7 @@ dependencies = [ "ruff_diagnostics", "ruff_macros", "ruff_python_ast", + "ruff_python_semantic", "ruff_python_stdlib", "ruff_rustpython", "rustc-hash", @@ -2058,7 +2060,7 @@ dependencies = [ [[package]] name = "ruff_cli" -version = "0.0.260" +version = "0.0.261" dependencies = [ "annotate-snippets 0.9.1", "anyhow", @@ -2086,6 +2088,7 @@ dependencies = [ "ruff", "ruff_cache", "ruff_diagnostics", + "ruff_python_ast", "ruff_python_stdlib", "rustc-hash", "serde", @@ -2168,16 +2171,15 @@ dependencies = [ "is-macro", "itertools", "log", - "nohash-hasher", "num-bigint", "num-traits", "once_cell", "regex", - "ruff_python_stdlib", "ruff_rustpython", "rustc-hash", "rustpython-common", "rustpython-parser", + "serde", "smallvec", ] @@ -2193,7 +2195,6 @@ dependencies = [ "once_cell", "ruff_formatter", "ruff_python_ast", - "ruff_python_stdlib", "ruff_rustpython", "ruff_testing_macros", "ruff_text_size", @@ -2205,6 +2206,20 @@ dependencies = [ ] [[package]] +name = "ruff_python_semantic" +version = "0.0.0" +dependencies = [ + "bitflags", + "is-macro", + "nohash-hasher", + "ruff_python_ast", + "ruff_python_stdlib", + "rustc-hash", + "rustpython-parser", + "smallvec", +] + +[[package]] name = "ruff_python_stdlib" version = "0.0.0" dependencies = [ diff --git a/pkgs/development/tools/ruff/default.nix b/pkgs/development/tools/ruff/default.nix index 78bf24389070..6cccaeba4526 100644 --- a/pkgs/development/tools/ruff/default.nix +++ b/pkgs/development/tools/ruff/default.nix @@ -8,13 +8,13 @@ rustPlatform.buildRustPackage rec { pname = "ruff"; - version = "0.0.260"; + version = "0.0.261"; src = fetchFromGitHub { owner = "charliermarsh"; repo = pname; rev = "v${version}"; - hash = "sha256-n/b1L0qMyGzcDwXTLgiPrd4YgFDtxYyUKrgykkdBQWU="; + hash = "sha256-YFhMrmZ1Zv4nIWWxq6A7PU0VYayugmJKbbkz+AdGJ+I="; }; # We have to use importCargoLock here because `cargo vendor` currently doesn't support workspace @@ -23,7 +23,6 @@ rustPlatform.buildRustPackage rec { lockFile = ./Cargo.lock; outputHashes = { "libcst-0.1.0" = "sha256-jG9jYJP4reACkFLrQBWOYH6nbKniNyFVItD0cTZ+nW0="; - "pep440_rs-0.2.0" = "sha256-wDJGz7SbHItYsg0+EgIoH48WFdV6MEg+HkeE07JE6AU="; "rustpython-ast-0.2.0" = "sha256-0SHtycgDVOtiz7JZwd1v9lv2exxemcntm9lciih+pgc="; "unicode_names2-0.6.0" = "sha256-eWg9+ISm/vztB0KIdjhq5il2ZnwGJQCleCYfznCI3Wg="; }; |