From c593ccb529a8183d5016467adecf25b0981a31ad Mon Sep 17 00:00:00 2001 From: Tim Hatch Date: Mon, 28 Oct 2024 05:37:54 -0700 Subject: [PATCH] Regenerate known_stdlibs.rs with stdlibs 2024.10.25 (#13963) ## Summary `stdlibs` has a new release to properly categorize the `_wmi` module which has been [present since ~2022](https://github.com/python/cpython/issues/89545#issuecomment-1227846806). ## Test Plan Let CI run, this is only a trivial change to categorization data. --- crates/ruff_python_stdlib/src/sys/known_stdlib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ruff_python_stdlib/src/sys/known_stdlib.rs b/crates/ruff_python_stdlib/src/sys/known_stdlib.rs index 6a991c4858..7c08ebe800 100644 --- a/crates/ruff_python_stdlib/src/sys/known_stdlib.rs +++ b/crates/ruff_python_stdlib/src/sys/known_stdlib.rs @@ -519,6 +519,7 @@ pub fn is_known_standard_library(minor_version: u8, module: &str) -> bool { | "_testsinglephase" | "_tokenize" | "_typing" + | "_wmi" | "_xxinterpchannels" | "_xxsubinterpreters" | "_zoneinfo" @@ -567,6 +568,7 @@ pub fn is_known_standard_library(minor_version: u8, module: &str) -> bool { | "_statistics" | "_suggestions" | "_sysconfig" + | "_testcapi_datetime" | "_testclinic" | "_testclinic_limited" | "_testexternalinspection" @@ -575,6 +577,7 @@ pub fn is_known_standard_library(minor_version: u8, module: &str) -> bool { | "_testsinglephase" | "_tokenize" | "_typing" + | "_wmi" | "_zoneinfo" | "graphlib" | "tomllib"