-
-
Notifications
You must be signed in to change notification settings - Fork 473
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working