mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
Add secrets to stdlib packages list (PY-26725)
This commit is contained in:
@@ -201,6 +201,7 @@ rlcompleter
|
||||
robotparser
|
||||
runpy
|
||||
sched
|
||||
secrets
|
||||
select
|
||||
selectors
|
||||
sets
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
import secrets
|
||||
|
||||
print(secrets)
|
||||
@@ -56,6 +56,11 @@ public class PyPackageRequirementsInspectionTest extends PyInspectionTestCase {
|
||||
runWithLanguageLevel(LanguageLevel.PYTHON35, () -> doMultiFileTest("test1.py"));
|
||||
}
|
||||
|
||||
// PY-26725
|
||||
public void testSecretsNotInRequirements() {
|
||||
runWithLanguageLevel(LanguageLevel.PYTHON36, () -> doMultiFileTest("test1.py"));
|
||||
}
|
||||
|
||||
// PY-11963
|
||||
// PY-26050
|
||||
public void testMismatchBetweenPackageAndRequirement() {
|
||||
|
||||
Reference in New Issue
Block a user