Skip to content

Commit

Permalink
keep pytype around during transition
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vdb committed Sep 3, 2020
1 parent 1b553ab commit 17f125d
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ jobs:
- name: Check Types 📚
run: make types

- name: Check Types (old) 📚
run: make types-old

- name: Test CLI 🖥
# makes sure we catch any dependency error early. they will create strange
# errors during the docs build, so easier to catch them early on by
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ venv
.ipynb_checkpoints
.ruby-version
.tox
.pytype
.mypy_cache/
dist/
pip-wheel-metadata
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ lint:
types:
poetry run mypy rasa

types-old:
poetry run pytype --keep-going rasa -j 16

prepare-tests-files:
poetry install -E spacy
poetry run python -m spacy download en_core_web_md
Expand Down
63 changes: 62 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ toml = "^0.10.0"
pep440-version-utils = "^0.3.0"
pydoc-markdown = "3.3.0.post1"
mypy = "^0.782"
pytype = "^2020.6.1"

[tool.poetry.extras]
spacy = [ "spacy",]
Expand Down

0 comments on commit 17f125d

Please sign in to comment.