You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(checker): allow to disable language checker (#5049)
Allow the user to enable or disable language checkers
While at it, also fix a typo dictoinary -> dictionary
Signed-off-by: Fabrice Fontaine <[email protected]>
"""Remove specific language checkers If a checker is in the skip list, it will be removed from this dictionary. If it's not found or is not a valid language checker name, it logs error messages."""
137
+
138
+
# Take out any language checkers that are on the skip list
139
+
# (string of comma-delimited language checker names)
140
+
skiplist=language_skips
141
+
forskipmeinskiplist:
142
+
ifskipmenotinself.language_checkers_names:
143
+
self.logger.error(
144
+
f"Checker {skipme} is not a valid language checker name"
145
+
)
146
+
else:
147
+
self.logger.debug(f"Skipping language checker: {skipme}")
0 commit comments