Created
March 22, 2019 14:34
-
-
Save nijel/529b17536db1ce22445b13e952b63637 to your computer and use it in GitHub Desktop.
Webate checks configuration examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This example shows various ways to configure checks in Weblate | |
# | |
# In example settings CHECK_LIST is commented out, what leads to using | |
# default value - all checks are enabled | |
# CHECK_LIST = ( | |
# 'weblate.checks.same.SameCheck', | |
# 'weblate.checks.chars.BeginNewlineCheck', | |
# 'weblate.checks.chars.EndNewlineCheck', | |
# 'weblate.checks.chars.BeginSpaceCheck', | |
# 'weblate.checks.chars.EndSpaceCheck', | |
# 'weblate.checks.chars.EndStopCheck', | |
# 'weblate.checks.chars.EndColonCheck', | |
# 'weblate.checks.chars.EndQuestionCheck', | |
# 'weblate.checks.chars.EndExclamationCheck', | |
# 'weblate.checks.chars.EndEllipsisCheck', | |
# 'weblate.checks.chars.EndSemicolonCheck', | |
# 'weblate.checks.chars.MaxLengthCheck', | |
# 'weblate.checks.chars.KashidaCheck', | |
# 'weblate.checks.format.PythonFormatCheck', | |
# 'weblate.checks.format.PythonBraceFormatCheck', | |
# 'weblate.checks.format.PHPFormatCheck', | |
# 'weblate.checks.format.CFormatCheck', | |
# 'weblate.checks.format.PerlFormatCheck', | |
# 'weblate.checks.format.JavaScriptFormatCheck', | |
# 'weblate.checks.format.CSharpFormatCheck', | |
# 'weblate.checks.format.JavaFormatCheck', | |
# 'weblate.checks.format.JavaMessageFormatCheck', | |
# 'weblate.checks.angularjs.AngularJSInterpolationCheck', | |
# 'weblate.checks.consistency.PluralsCheck', | |
# 'weblate.checks.consistency.SamePluralsCheck', | |
# 'weblate.checks.consistency.ConsistencyCheck', | |
# 'weblate.checks.consistency.TranslatedCheck', | |
# 'weblate.checks.chars.NewlineCountingCheck', | |
# 'weblate.checks.markup.BBCodeCheck', | |
# 'weblate.checks.chars.ZeroWidthSpaceCheck', | |
# 'weblate.checks.markup.XMLValidityCheck', | |
# 'weblate.checks.markup.XMLTagsCheck', | |
# 'weblate.checks.markup.MarkdownRefLinkCheck', | |
# 'weblate.checks.markup.MarkdownLinkCheck', | |
# 'weblate.checks.markup.MarkdownSyntaxCheck', | |
# 'weblate.checks.markup.URLCheck', | |
# 'weblate.checks.source.OptionalPluralCheck', | |
# 'weblate.checks.source.EllipsisCheck', | |
# 'weblate.checks.source.MultipleFailingCheck', | |
# ) | |
# No checks enabled | |
CHECK_LIST = () | |
# Enable only some of the checks | |
CHECK_LIST = ( | |
'weblate.checks.chars.BeginNewlineCheck', | |
'weblate.checks.chars.EndNewlineCheck', | |
'weblate.checks.chars.MaxLengthCheck', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment