43 "Security", "Probable insecure usage of temp file/directory." |
43 "Security", "Probable insecure usage of temp file/directory." |
44 ), |
44 ), |
45 # try-except and contextlib.suppress |
45 # try-except and contextlib.suppress |
46 "S-110": QCoreApplication.translate("Security", "Try, Except, Pass detected."), |
46 "S-110": QCoreApplication.translate("Security", "Try, Except, Pass detected."), |
47 "S-112": QCoreApplication.translate("Security", "Try, Except, Continue detected."), |
47 "S-112": QCoreApplication.translate("Security", "Try, Except, Continue detected."), |
48 "S-113": QCoreApplication.translate("Security", "'contextlib.suppress()' detected."), |
48 "S-113": QCoreApplication.translate( |
|
49 "Security", "'contextlib.suppress()' detected." |
|
50 ), |
49 # request without timeout |
51 # request without timeout |
50 "S-114.1": QCoreApplication.translate("Security", "Call to {0} without timeout."), |
52 "S-114.1": QCoreApplication.translate("Security", "Call to {0} without timeout."), |
51 "S-114.2": QCoreApplication.translate( |
53 "S-114.2": QCoreApplication.translate( |
52 "Security", |
54 "Security", |
53 "Call to {0} with timeout set to None.", |
55 "Call to {0} with timeout set to None.", |