Skip to content

Commit 070a3f7

Browse files
committed
Black formatting.
1 parent f7f2f41 commit 070a3f7

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

tests/test_train.py

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,20 @@ def test_package_model(trained_rasa_model, parameters):
4747

4848

4949
def count_temp_rasa_files(directory: Text) -> int:
50-
return len([
51-
entry for entry in os.listdir(directory)
52-
if not any([
53-
# Ignore the following files/directories:
54-
entry == "__pycache__", # Python bytecode
55-
entry.endswith(".py") # Temp .py files created by TF
56-
# Anything else is considered to be created by Rasa
57-
])
58-
])
50+
return len(
51+
[
52+
entry
53+
for entry in os.listdir(directory)
54+
if not any(
55+
[
56+
# Ignore the following files/directories:
57+
entry == "__pycache__", # Python bytecode
58+
entry.endswith(".py") # Temp .py files created by TF
59+
# Anything else is considered to be created by Rasa
60+
]
61+
)
62+
]
63+
)
5964

6065

6166
def test_train_temp_files(

0 commit comments

Comments
 (0)