Skip to content

Commit

Permalink
Flake8: Solve E704 (#9765)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik authored Mar 27, 2024
1 parent 313f7d1 commit 272bde8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ ignore =
E127
# Suppress - Function is too complex
C901
# Multiple statements on one line
E704
# Bare except
E722
# May be undefined
Expand Down
3 changes: 2 additions & 1 deletion dojo/tools/scout_suite/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def formatview(self, depth):
return ""

def recursive_print(self, src, depth=0, key=""):
def tabs(n): return " " * n * 2
def tabs(n):
return " " * n * 2
if isinstance(src, dict):
for key, value in src.items():
if isinstance(src, str):
Expand Down

0 comments on commit 272bde8

Please sign in to comment.