Skip to content

Commit e7d0753

Browse files
sphinxcontrib/jsonschema.py: Fix lint errors
1 parent 4cd849b commit e7d0753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxcontrib/jsonschema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ def table(self, schema):
164164
for prop in schema:
165165
path = prop.name.split('/')
166166
if self.include:
167-
if any(map(lambda x: x == path[:len(x)], self.include)):
167+
if any(map(lambda x: x == path[:len(x)], self.include)):
168168
if path in self.include:
169169
self.include_used.add(tuple(path))
170170
else:
171171
continue
172-
if any(map(lambda x: x == path[:len(x)], self.collapse)):
172+
if any(map(lambda x: x == path[:len(x)], self.collapse)):
173173
if path in self.collapse:
174174
self.collapse_used.add(tuple(path))
175175
else:

0 commit comments

Comments
 (0)