diff --git a/doc/whatsnew/fragments/10211.false_positive b/doc/whatsnew/fragments/10211.false_positive new file mode 100644 index 0000000000..e8d3f0a801 --- /dev/null +++ b/doc/whatsnew/fragments/10211.false_positive @@ -0,0 +1,3 @@ +Remove `getopt` from the list of deprecated modules. + +Closes #10211 diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py index 0b6c86cbe6..762c1d5cd3 100644 --- a/pylint/checkers/imports.py +++ b/pylint/checkers/imports.py @@ -79,7 +79,6 @@ "uu", "xdrlib", }, - (3, 13, 0): {"getopt"}, }