Skip to content

Commit e80e3f9

Browse files
Bump pytype from 2020.2.6 to 2020.6.1 (RasaHQ#5946)
* Bump pytype from 2020.2.6 to 2020.6.1 Bumps [pytype](https://github.com/google/pytype) from 2020.2.6 to 2020.6.1. - [Release notes](https://github.com/google/pytype/releases) - [Changelog](https://github.com/google/pytype/blob/master/CHANGELOG) - [Commits](google/pytype@2020.02.06...2020.06.01) Signed-off-by: dependabot-preview[bot] <[email protected]> * removed PIP 517 flag, not needed anymore? * fixed typing error Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Tom Bocklisch <[email protected]>
1 parent 04bc097 commit e80e3f9

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

.github/workflows/continous-integration.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ env:
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

2625
jobs:
2726
api:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ and apply your changes.
165165
In order to run the tests, make sure that you have the development requirements installed:
166166

167167
```bash
168-
export PIP_USE_PEP517=false
169168
make prepare-tests-ubuntu # Only on Ubuntu and Debian based systems
170169
make prepare-tests-macos # Only on macOS
171170
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fakeredis = "^1.4.0"
140140
mongomock = "^3.18.0"
141141
black = "^19.10b0"
142142
flake8 = "^3.7.9"
143-
pytype = "^2020.1.24"
143+
pytype = "^2020.6.1"
144144
google-cloud-storage = "^1.25.0"
145145
azure-storage-blob = "<12.4.0"
146146
coveralls = "^2.0.0"

rasa/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

rasa/core/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

rasa/core/training/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)