Skip to content

Commit

Permalink
disable error codes one by one
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vdb committed Oct 12, 2020
1 parent cef6a96 commit 85c785d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 412 deletions.
23 changes: 22 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,28 @@ lint:
poetry run black --check rasa tests

types:
poetry run mypy rasa
# FIXME: working our way towards removing these
# see https://github.com/RasaHQ/rasa/pull/6470
# the list below is sorted by the number of errors for each error code, in decreasing order
poetry run mypy rasa --disable-error-code arg-type \
--disable-error-code assignment \
--disable-error-code var-annotated \
--disable-error-code return-value \
--disable-error-code union-attr \
--disable-error-code override \
--disable-error-code operator \
--disable-error-code attr-defined \
--disable-error-code index \
--disable-error-code misc \
--disable-error-code return \
--disable-error-code call-arg \
--disable-error-code type-var \
--disable-error-code list-item \
--disable-error-code has-type \
--disable-error-code valid-type \
--disable-error-code dict-item \
--disable-error-code no-redef \
--disable-error-code func-returns-value

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

0 comments on commit 85c785d

Please sign in to comment.