Flake8 violation

This commit is contained in:
Lysandre
2020-01-15 09:21:38 -05:00
committed by Lysandre Debut
parent 632675ea88
commit f81b6c95f2

View File

@@ -41,7 +41,7 @@ def get_examples_from_file(file):
example = []
else:
# If line is not empty, add it to the current example
if line is not "\n":
if line != "\n":
example.append(line[example_indentation + 4 : -1])
# Detect the example from '::' or 'example::'