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 2121 # needed to fix issues with boto during testing:
2222 # https://github.com/travis-ci/travis-ci/issues/7940
2323 BOTO_CONFIG : /dev/null
24- PIP_USE_PEP517 : false
2524
2625jobs :
2726 api :
Original file line number Diff line number Diff line change @@ -165,7 +165,6 @@ and apply your changes.
165165In order to run the tests, make sure that you have the development requirements installed:
166166
167167``` bash
168- export PIP_USE_PEP517=false
169168make prepare-tests-ubuntu # Only on Ubuntu and Debian based systems
170169make prepare-tests-macos # Only on macOS
171170```
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ fakeredis = "^1.4.0"
140140mongomock = " ^3.18.0"
141141black = " ^19.10b0"
142142flake8 = " ^3.7.9"
143- pytype = " ^2020.1.24 "
143+ pytype = " ^2020.6.1 "
144144google-cloud-storage = " ^1.25.0"
145145azure-storage-blob = " <12.4.0"
146146coveralls = " ^2.0.0"
Original file line number Diff line number Diff line change @@ -617,7 +617,7 @@ async def load_data(
617617 tracker_limit : Optional [int ] = None ,
618618 use_story_concatenation : bool = True ,
619619 debug_plots : bool = False ,
620- exclusion_percentage : int = None ,
620+ exclusion_percentage : Optional [ int ] = None ,
621621 ) -> List [DialogueStateTracker ]:
622622 """Load training data from a resource."""
623623
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ async def train(
2727 interpreter : Optional ["NaturalLanguageInterpreter" ] = None ,
2828 endpoints : "AvailableEndpoints" = None ,
2929 policy_config : Optional [Union [Text , Dict ]] = None ,
30- exclusion_percentage : int = None ,
30+ exclusion_percentage : Optional [ int ] = None ,
3131 additional_arguments : Optional [Dict ] = None ,
3232):
3333 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(
1414 domain : "Domain" ,
1515 interpreter : Optional ["NaturalLanguageInterpreter" ] = None ,
1616 use_e2e : bool = False ,
17- exclusion_percentage : int = None ,
17+ exclusion_percentage : Optional [ int ] = None ,
1818) -> "StoryGraph" :
1919 from rasa .core .interpreter import RegexInterpreter
2020 from rasa .core .training .dsl import StoryFileReader
@@ -41,7 +41,7 @@ async def load_data(
4141 tracker_limit : Optional [int ] = None ,
4242 use_story_concatenation : bool = True ,
4343 debug_plots = False ,
44- exclusion_percentage : int = None ,
44+ exclusion_percentage : Optional [ int ] = None ,
4545) -> List ["DialogueStateTracker" ]:
4646 from rasa .core .training .generator import TrainingDataGenerator
4747 from rasa .importers .importer import TrainingDataImporter
You can’t perform that action at this time.
0 commit comments