By default, this regex is excluded from reporting:
^\s*(((async )?def .*?)?\)(\s*->.*?)?:\s*)?\.\.\.\s*(#|$)
This is meant to exclude ... on a line by itself, as well as any function that has only that as its body.
Scriv has a YAML literal in its tests that looks like this:
YAML_LITERAL = """\
---
version: 1.2.3
myVersion:
MAJOR: 2
MINOR: 3
PATCH: 5
myproduct:
version: [mayor=5, minor=6, patch=7]
versionString: "8.9.22"
...
"""
The whole statement is mistakenly excluded from reporting because of the three dots at the end (YAML syntax for end of document).
By default, this regex is excluded from reporting:
This is meant to exclude
...on a line by itself, as well as any function that has only that as its body.Scriv has a YAML literal in its tests that looks like this:
The whole statement is mistakenly excluded from reporting because of the three dots at the end (YAML syntax for end of document).