Skip to content

Commit

Permalink
Turn on type checking for the whole codebase
Browse files Browse the repository at this point in the history
A partial fix for #1109
  • Loading branch information
skirpichev committed Jan 25, 2021
1 parent 49a590a commit d399f14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -42,7 +42,7 @@ jobs:
flake8
pylint diofant
- name: Run type checks with mypy
run: mypy diofant/domains/ diofant/polys/ diofant/tests/domains/ diofant/tests/polys/
run: mypy diofant
- name: Tests
if: matrix.coverage == false
env:
Expand Down
4 changes: 4 additions & 0 deletions docs/guide.rst
Expand Up @@ -85,6 +85,10 @@ All work should be submitted via `Pull Requests (PR)`_.

pylint diofant

and do type checking::

mypy diofant

8. If your change affects documentation, please build it by::

python setup.py build_sphinx -W
Expand Down
2 changes: 2 additions & 0 deletions docs/release/notes-0.13.rst
Expand Up @@ -19,6 +19,8 @@ Minor changes
Developer changes
=================

* Turn on type checking for the whole codebase, see :pull:`1114`.

Issues closed
=============

Expand Down

0 comments on commit d399f14

Please sign in to comment.