153 |
153 |
154 @return state of checkFlakes and ignoreStarImportWarnings (bool, bool) |
154 @return state of checkFlakes and ignoreStarImportWarnings (bool, bool) |
155 """ |
155 """ |
156 checkFlakes = Preferences.getFlakes("IncludeInSyntaxCheck") |
156 checkFlakes = Preferences.getFlakes("IncludeInSyntaxCheck") |
157 ignoreStarImportWarnings = Preferences.getFlakes("IgnoreStarImportWarnings") |
157 ignoreStarImportWarnings = Preferences.getFlakes("IgnoreStarImportWarnings") |
158 return checkFlakes, ignoreStarImportWarnings |
158 additionalBuiltins = Preferences.getFlakes("AdditionalBuiltins") |
|
159 return checkFlakes, ignoreStarImportWarnings, additionalBuiltins |
159 |
160 |
160 def __translateSyntaxCheck(self, fn, problems): |
161 def __translateSyntaxCheck(self, fn, problems): |
161 """ |
162 """ |
162 Private slot to translate the resulting messages. |
163 Private slot to translate the resulting messages. |
163 |
164 |