mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 21:31:26 -07:00
flake8 clean ups
This commit is contained in:
parent
75b299e6de
commit
113c74faac
1 changed files with 0 additions and 2 deletions
|
@ -8,7 +8,6 @@ import ast
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
|
||||||
|
|
||||||
from distutils.version import StrictVersion
|
from distutils.version import StrictVersion
|
||||||
from fnmatch import fnmatch
|
from fnmatch import fnmatch
|
||||||
|
@ -328,7 +327,6 @@ class ModuleValidator(Validator):
|
||||||
elif grandchild.id == 'EXAMPLES':
|
elif grandchild.id == 'EXAMPLES':
|
||||||
docs['EXAMPLES']['value'] = child.value.s[1:]
|
docs['EXAMPLES']['value'] = child.value.s[1:]
|
||||||
docs['EXAMPLES']['lineno'] = child.lineno
|
docs['EXAMPLES']['lineno'] = child.lineno
|
||||||
examples = child.value.s[1:]
|
|
||||||
elif grandchild.id == 'RETURN':
|
elif grandchild.id == 'RETURN':
|
||||||
docs['RETURN']['value'] = child.value.s
|
docs['RETURN']['value'] = child.value.s
|
||||||
docs['RETURN']['lineno'] = child.lineno
|
docs['RETURN']['lineno'] = child.lineno
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue