File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,20 @@ def test_package_model(trained_rasa_model, parameters):
47
47
48
48
49
49
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
+ )
59
64
60
65
61
66
def test_train_temp_files (
You can’t perform that action at this time.
0 commit comments