mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
flake8 clean ups
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user