We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
check-doc.py
2 parents cb32328 + 2b77a33 commit 8b05f13Copy full SHA for 8b05f13
test/lint/check-doc.py
@@ -15,7 +15,7 @@
15
16
FOLDER_GREP = 'src'
17
FOLDER_TEST = 'src/test/'
18
-REGEX_ARG = r'(?:ForceSet|SoftSet|Get|Is)(?:Bool)?Args?(?:Set)?\("(-[^"]+)"'
+REGEX_ARG = r'\b(?:GetArg|GetArgs|GetBoolArg|GetIntArg|GetPathArg|IsArgSet|get_net)\("(-[^"]+)"'
19
REGEX_DOC = r'AddArg\("(-[^"=]+?)(?:=|")'
20
CMD_ROOT_DIR = '$(git rev-parse --show-toplevel)/{}'.format(FOLDER_GREP)
21
CMD_GREP_ARGS = r"git grep --perl-regexp '{}' -- {} ':(exclude){}'".format(REGEX_ARG, CMD_ROOT_DIR, FOLDER_TEST)
0 commit comments