Docstring missing for
_subpattern_invoke
6 from sre_parse import State as Pattern
7
8
9def _subpattern_invoke(pattern, func):10 if not isinstance(pattern, SubPattern):
11 pattern = parse(pattern)
12 return pattern, func(pattern.data)
Docstring missing for
check_regex
2from ._analyse import preprocess
3
4
5def check_regex(pattern):6 _, rv = _subpattern_invoke(pattern, preprocess)
7 return list(rv)
Docstring missing for
_handle_error
7)
8
9
10def _handle_error(tok, val, msg):11 raise error(msg)
12
13
Docstring missing for
preprocess
11 raise error(msg)
12
13
14def preprocess(seq, error=_handle_error):15 for tok, val in list(seq):
16 if tok == IN:
17 negate = val[0] == (NEGATE, None)
Description
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.