Merge pull request #315525 from GaetanLepage/ruff

ruff: 0.4.5 -> 0.4.6

authored by Pol Dellaiera and committed by GitHub 6a2877ae 9584ef2c

+37 -71
+31 -68
pkgs/development/tools/ruff/Cargo.lock
··· 129 129 130 130 [[package]] 131 131 name = "anyhow" 132 - version = "1.0.83" 132 + version = "1.0.86" 133 133 source = "registry+https://github.com/rust-lang/crates.io-index" 134 - checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" 134 + checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" 135 135 136 136 [[package]] 137 137 name = "argfile" ··· 887 887 checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" 888 888 889 889 [[package]] 890 - name = "hexf-parse" 891 - version = "0.2.1" 892 - source = "registry+https://github.com/rust-lang/crates.io-index" 893 - checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" 894 - 895 - [[package]] 896 890 name = "home" 897 891 version = "0.5.9" 898 892 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1177 1171 checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 1178 1172 1179 1173 [[package]] 1180 - name = "lexical-parse-float" 1181 - version = "0.8.5" 1182 - source = "registry+https://github.com/rust-lang/crates.io-index" 1183 - checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f" 1184 - dependencies = [ 1185 - "lexical-parse-integer", 1186 - "lexical-util", 1187 - "static_assertions", 1188 - ] 1189 - 1190 - [[package]] 1191 - name = "lexical-parse-integer" 1192 - version = "0.8.6" 1193 - source = "registry+https://github.com/rust-lang/crates.io-index" 1194 - checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9" 1195 - dependencies = [ 1196 - "lexical-util", 1197 - "static_assertions", 1198 - ] 1199 - 1200 - [[package]] 1201 - name = "lexical-util" 1202 - version = "0.8.5" 1203 - source = "registry+https://github.com/rust-lang/crates.io-index" 1204 - checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc" 1205 - dependencies = [ 1206 - "static_assertions", 1207 - ] 1208 - 1209 - [[package]] 1210 1174 name = "libc" 1211 - version = "0.2.154" 1175 + version = "0.2.155" 1212 1176 source = "registry+https://github.com/rust-lang/crates.io-index" 1213 - checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" 1177 + checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" 1214 1178 1215 1179 [[package]] 1216 1180 name = "libcst" ··· 1239 1203 1240 1204 [[package]] 1241 1205 name = "libmimalloc-sys" 1242 - version = "0.1.37" 1206 + version = "0.1.38" 1243 1207 source = "registry+https://github.com/rust-lang/crates.io-index" 1244 - checksum = "81eb4061c0582dedea1cbc7aff2240300dd6982e0239d1c99e65c1dbf4a30ba7" 1208 + checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6" 1245 1209 dependencies = [ 1246 1210 "cc", 1247 1211 "libc", ··· 1338 1302 1339 1303 [[package]] 1340 1304 name = "mimalloc" 1341 - version = "0.1.41" 1305 + version = "0.1.42" 1342 1306 source = "registry+https://github.com/rust-lang/crates.io-index" 1343 - checksum = "9f41a2280ded0da56c8cf898babb86e8f10651a34adcfff190ae9a1159c6908d" 1307 + checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176" 1344 1308 dependencies = [ 1345 1309 "libmimalloc-sys", 1346 1310 ] ··· 1497 1461 1498 1462 [[package]] 1499 1463 name = "parking_lot" 1500 - version = "0.12.2" 1464 + version = "0.12.3" 1501 1465 source = "registry+https://github.com/rust-lang/crates.io-index" 1502 - checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" 1466 + checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" 1503 1467 dependencies = [ 1504 1468 "lock_api", 1505 1469 "parking_lot_core", ··· 1706 1670 1707 1671 [[package]] 1708 1672 name = "proc-macro2" 1709 - version = "1.0.82" 1673 + version = "1.0.84" 1710 1674 source = "registry+https://github.com/rust-lang/crates.io-index" 1711 - checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" 1675 + checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6" 1712 1676 dependencies = [ 1713 1677 "unicode-ident", 1714 1678 ] ··· 1939 1903 1940 1904 [[package]] 1941 1905 name = "ruff" 1942 - version = "0.4.5" 1906 + version = "0.4.6" 1943 1907 dependencies = [ 1944 1908 "anyhow", 1945 1909 "argfile", ··· 2100 2064 2101 2065 [[package]] 2102 2066 name = "ruff_linter" 2103 - version = "0.4.5" 2067 + version = "0.4.6" 2104 2068 dependencies = [ 2105 2069 "aho-corasick", 2106 2070 "annotate-snippets 0.9.2", ··· 2277 2241 version = "0.0.0" 2278 2242 dependencies = [ 2279 2243 "bitflags 2.5.0", 2280 - "hexf-parse", 2281 2244 "itertools 0.12.1", 2282 - "lexical-parse-float", 2283 2245 "ruff_python_ast", 2284 2246 "unic-ucd-category", 2285 2247 ] ··· 2367 2329 dependencies = [ 2368 2330 "anyhow", 2369 2331 "crossbeam", 2332 + "globset", 2370 2333 "insta", 2371 2334 "jod-thread", 2372 2335 "libc", ··· 2555 2518 2556 2519 [[package]] 2557 2520 name = "schemars" 2558 - version = "0.8.19" 2521 + version = "0.8.21" 2559 2522 source = "registry+https://github.com/rust-lang/crates.io-index" 2560 - checksum = "fc6e7ed6919cb46507fb01ff1654309219f62b4d603822501b0b80d42f6f21ef" 2523 + checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92" 2561 2524 dependencies = [ 2562 2525 "dyn-clone", 2563 2526 "schemars_derive", ··· 2567 2530 2568 2531 [[package]] 2569 2532 name = "schemars_derive" 2570 - version = "0.8.19" 2533 + version = "0.8.21" 2571 2534 source = "registry+https://github.com/rust-lang/crates.io-index" 2572 - checksum = "185f2b7aa7e02d418e453790dde16890256bbd2bcd04b7dc5348811052b53f49" 2535 + checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e" 2573 2536 dependencies = [ 2574 2537 "proc-macro2", 2575 2538 "quote", ··· 2597 2560 2598 2561 [[package]] 2599 2562 name = "serde" 2600 - version = "1.0.201" 2563 + version = "1.0.203" 2601 2564 source = "registry+https://github.com/rust-lang/crates.io-index" 2602 - checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" 2565 + checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" 2603 2566 dependencies = [ 2604 2567 "serde_derive", 2605 2568 ] ··· 2617 2580 2618 2581 [[package]] 2619 2582 name = "serde_derive" 2620 - version = "1.0.201" 2583 + version = "1.0.203" 2621 2584 source = "registry+https://github.com/rust-lang/crates.io-index" 2622 - checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" 2585 + checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" 2623 2586 dependencies = [ 2624 2587 "proc-macro2", 2625 2588 "quote", ··· 2744 2707 2745 2708 [[package]] 2746 2709 name = "smol_str" 2747 - version = "0.2.1" 2710 + version = "0.2.2" 2748 2711 source = "registry+https://github.com/rust-lang/crates.io-index" 2749 - checksum = "e6845563ada680337a52d43bb0b29f396f2d911616f6573012645b9e3d048a49" 2712 + checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" 2750 2713 dependencies = [ 2751 2714 "serde", 2752 2715 ] ··· 2814 2777 2815 2778 [[package]] 2816 2779 name = "syn" 2817 - version = "2.0.63" 2780 + version = "2.0.66" 2818 2781 source = "registry+https://github.com/rust-lang/crates.io-index" 2819 - checksum = "bf5be731623ca1a1fb7d8be6f261a3be6d3e2337b8a1f97be944d020c8fcb704" 2782 + checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" 2820 2783 dependencies = [ 2821 2784 "proc-macro2", 2822 2785 "quote", ··· 2904 2867 2905 2868 [[package]] 2906 2869 name = "thiserror" 2907 - version = "1.0.60" 2870 + version = "1.0.61" 2908 2871 source = "registry+https://github.com/rust-lang/crates.io-index" 2909 - checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" 2872 + checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" 2910 2873 dependencies = [ 2911 2874 "thiserror-impl", 2912 2875 ] 2913 2876 2914 2877 [[package]] 2915 2878 name = "thiserror-impl" 2916 - version = "1.0.60" 2879 + version = "1.0.61" 2917 2880 source = "registry+https://github.com/rust-lang/crates.io-index" 2918 - checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" 2881 + checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" 2919 2882 dependencies = [ 2920 2883 "proc-macro2", 2921 2884 "quote",
+6 -3
pkgs/development/tools/ruff/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "ruff"; 13 - version = "0.4.5"; 13 + version = "0.4.6"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "astral-sh"; 17 17 repo = "ruff"; 18 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-+8JKzKKWPQEanU2mh8p5sRjnoU6DawTQQi43qRXVXIg="; 19 + hash = "sha256-ECFBciJjVmz8yvZci6dV4L3o4objkbU5HwB2qy0Mqv4="; 20 20 }; 21 21 22 22 cargoLock = { ··· 58 58 changelog = "https://github.com/astral-sh/ruff/releases/tag/v${version}"; 59 59 license = lib.licenses.mit; 60 60 mainProgram = "ruff"; 61 - maintainers = with lib.maintainers; [ figsoda ]; 61 + maintainers = with lib.maintainers; [ 62 + figsoda 63 + GaetanLepage 64 + ]; 62 65 }; 63 66 }