90 </dd> |
90 </dd> |
91 <dt><i>codestring</i></dt> |
91 <dt><i>codestring</i></dt> |
92 <dd> |
92 <dd> |
93 string containing the code to compile (string) |
93 string containing the code to compile (string) |
94 </dd> |
94 </dd> |
95 <dt><i>checkFlakes=</i></dt> |
95 <dt><i>checkFlakes</i></dt> |
96 <dd> |
96 <dd> |
97 flag indicating to do a pyflakes check (boolean) |
97 flag indicating to do a pyflakes check (boolean) |
98 </dd> |
98 </dd> |
99 <dt><i>ignoreStarImportWarnings=</i></dt> |
99 <dt><i>ignoreStarImportWarnings</i></dt> |
100 <dd> |
100 <dd> |
101 flag indicating to |
101 flag indicating to |
102 ignore 'star import' warnings (boolean) |
102 ignore 'star import' warnings (boolean) |
103 </dd> |
103 </dd> |
104 </dl> |
104 </dl> |
105 <dl> |
105 <dl> |
106 <dt>Returns:</dt> |
106 <dt>Return:</dt> |
107 <dd> |
107 <dd> |
108 dictionary with the keys 'error' and 'warnings' which |
108 dictionary with the keys 'error' and 'warnings' which |
109 hold a list containing details about the error/ warnings |
109 hold a list containing details about the error/ warnings |
110 (file name, line number, column, codestring (only at syntax |
110 (file name, line number, column, codestring (only at syntax |
111 errors), the message, a list with arguments for the message) |
111 errors), the message, a list with arguments for the message) |
126 |
126 |
127 <dt><i>line</i></dt> |
127 <dt><i>line</i></dt> |
128 <dd> |
128 <dd> |
129 line to extract flags from (string) |
129 line to extract flags from (string) |
130 </dd> |
130 </dd> |
131 <dt><i>startComment=</i></dt> |
131 <dt><i>startComment</i></dt> |
132 <dd> |
132 <dd> |
133 string identifying the start of the comment (string) |
133 string identifying the start of the comment (string) |
134 </dd> |
134 </dd> |
135 <dt><i>endComment=</i></dt> |
135 <dt><i>endComment</i></dt> |
136 <dd> |
136 <dd> |
137 string identifying the end of a comment (string) |
137 string identifying the end of a comment (string) |
138 </dd> |
138 </dd> |
139 <dt><i>flagsLine=</i></dt> |
139 <dt><i>flagsLine</i></dt> |
140 <dd> |
140 <dd> |
141 flag indicating to check for a flags only line (bool) |
141 flag indicating to check for a flags only line (bool) |
142 </dd> |
142 </dd> |
143 </dl> |
143 </dl> |
144 <dl> |
144 <dl> |
145 <dt>Returns:</dt> |
145 <dt>Return:</dt> |
146 <dd> |
146 <dd> |
147 list containing the extracted flags (list of strings) |
147 list containing the extracted flags (list of strings) |
148 </dd> |
148 </dd> |
149 </dl> |
149 </dl> |
150 <div align="right"><a href="#top">Up</a></div> |
150 <div align="right"><a href="#top">Up</a></div> |
255 </dd> |
255 </dd> |
256 <dt><i>codestring</i></dt> |
256 <dt><i>codestring</i></dt> |
257 <dd> |
257 <dd> |
258 string containing the code to compile (string) |
258 string containing the code to compile (string) |
259 </dd> |
259 </dd> |
260 <dt><i>checkFlakes=</i></dt> |
260 <dt><i>checkFlakes</i></dt> |
261 <dd> |
261 <dd> |
262 flag indicating to do a pyflakes check (boolean) |
262 flag indicating to do a pyflakes check (boolean) |
263 </dd> |
263 </dd> |
264 <dt><i>ignoreStarImportWarnings=</i></dt> |
264 <dt><i>ignoreStarImportWarnings</i></dt> |
265 <dd> |
265 <dd> |
266 flag indicating to |
266 flag indicating to |
267 ignore 'star import' warnings (boolean) |
267 ignore 'star import' warnings (boolean) |
268 </dd> |
268 </dd> |
269 </dl> |
269 </dl> |
270 <dl> |
270 <dl> |
271 <dt>Returns:</dt> |
271 <dt>Return:</dt> |
272 <dd> |
272 <dd> |
273 dictionary with the keys 'error' and 'warnings' which |
273 dictionary with the keys 'error' and 'warnings' which |
274 hold a list containing details about the error/ warnings |
274 hold a list containing details about the error/ warnings |
275 (file name, line number, column, codestring (only at syntax |
275 (file name, line number, column, codestring (only at syntax |
276 errors), the message, a list with arguments for the message) |
276 errors), the message, a list with arguments for the message) |