File tree Expand file tree Collapse file tree 6 files changed +5
-7
lines changed Expand file tree Collapse file tree 6 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 21
21
# needed to fix issues with boto during testing:
22
22
# https://github.com/travis-ci/travis-ci/issues/7940
23
23
BOTO_CONFIG : /dev/null
24
- PIP_USE_PEP517 : false
25
24
26
25
jobs :
27
26
api :
Original file line number Diff line number Diff line change @@ -165,7 +165,6 @@ and apply your changes.
165
165
In order to run the tests, make sure that you have the development requirements installed:
166
166
167
167
``` bash
168
- export PIP_USE_PEP517=false
169
168
make prepare-tests-ubuntu # Only on Ubuntu and Debian based systems
170
169
make prepare-tests-macos # Only on macOS
171
170
```
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ fakeredis = "^1.4.0"
140
140
mongomock = " ^3.18.0"
141
141
black = " ^19.10b0"
142
142
flake8 = " ^3.7.9"
143
- pytype = " ^2020.1.24 "
143
+ pytype = " ^2020.6.1 "
144
144
google-cloud-storage = " ^1.25.0"
145
145
azure-storage-blob = " <12.4.0"
146
146
coveralls = " ^2.0.0"
Original file line number Diff line number Diff line change @@ -617,7 +617,7 @@ async def load_data(
617
617
tracker_limit : Optional [int ] = None ,
618
618
use_story_concatenation : bool = True ,
619
619
debug_plots : bool = False ,
620
- exclusion_percentage : int = None ,
620
+ exclusion_percentage : Optional [ int ] = None ,
621
621
) -> List [DialogueStateTracker ]:
622
622
"""Load training data from a resource."""
623
623
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ async def train(
27
27
interpreter : Optional ["NaturalLanguageInterpreter" ] = None ,
28
28
endpoints : "AvailableEndpoints" = None ,
29
29
policy_config : Optional [Union [Text , Dict ]] = None ,
30
- exclusion_percentage : int = None ,
30
+ exclusion_percentage : Optional [ int ] = None ,
31
31
additional_arguments : Optional [Dict ] = None ,
32
32
):
33
33
from rasa .core .agent import Agent
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ async def extract_story_graph(
14
14
domain : "Domain" ,
15
15
interpreter : Optional ["NaturalLanguageInterpreter" ] = None ,
16
16
use_e2e : bool = False ,
17
- exclusion_percentage : int = None ,
17
+ exclusion_percentage : Optional [ int ] = None ,
18
18
) -> "StoryGraph" :
19
19
from rasa .core .interpreter import RegexInterpreter
20
20
from rasa .core .training .dsl import StoryFileReader
@@ -41,7 +41,7 @@ async def load_data(
41
41
tracker_limit : Optional [int ] = None ,
42
42
use_story_concatenation : bool = True ,
43
43
debug_plots = False ,
44
- exclusion_percentage : int = None ,
44
+ exclusion_percentage : Optional [ int ] = None ,
45
45
) -> List ["DialogueStateTracker" ]:
46
46
from rasa .core .training .generator import TrainingDataGenerator
47
47
from rasa .importers .importer import TrainingDataImporter
You can’t perform that action at this time.
0 commit comments