figsoda 2023-04-04 22:46:55 -04:00
parent cc11366149
commit 03dc88e1f9
2 changed files with 25 additions and 11 deletions

View File

@ -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",
@ -2204,6 +2205,20 @@ dependencies = [
"test-case",
]
[[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"

View File

@ -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=";
};