Skip to content

Commit

Permalink
[FIX] Typo in indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyroeo committed Apr 20, 2022
1 parent 6c68172 commit 9f31786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brico.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ def run(self, Norm_obj, files):
while lines[i] == ' ':
i+=1
if i % 4 != 0:
Norm_obj.minor.append(('L2', "No tab should be replaced by an identation.", test))
Norm_obj.minor.append(('L2', "No tab should be replaced by an indentation.", test))
for char in lines:
if (char == '\t' and ("Makefile" in files) != True):
Norm_obj.minor.append(('L2', "No tab should be replaced by an identation.", test))
Norm_obj.minor.append(('L2', "No tab should be replaced by an indentation.", test))
inside.close()

class Trailling_spaces:
Expand Down

0 comments on commit 9f31786

Please sign in to comment.