11146:59e04f7003e9 | 11147:dee6e106b4d3 |
---|---|
26 list of codes | 26 list of codes |
27 @rtype dict | 27 @rtype dict |
28 """ | 28 """ |
29 return { | 29 return { |
30 "Call": [ | 30 "Call": [ |
31 (checkFilePermissions, ("S102",)), | 31 (checkFilePermissions, ("S-102",)), |
32 ], | 32 ], |
33 } | 33 } |
34 | 34 |
35 | 35 |
36 def _statIsDangerous(mode): | 36 def _statIsDangerous(mode): |
76 filename = "NOT PARSED" | 76 filename = "NOT PARSED" |
77 | 77 |
78 reportError( | 78 reportError( |
79 context.node.lineno - 1, | 79 context.node.lineno - 1, |
80 context.node.col_offset, | 80 context.node.col_offset, |
81 "S103", | 81 "S-103", |
82 severity, | 82 severity, |
83 "H", | 83 "H", |
84 oct(mode), | 84 oct(mode), |
85 filename, | 85 filename, |
86 ) | 86 ) |