Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Commit

Permalink
MAINT: add more functions to the blacklist
Browse files Browse the repository at this point in the history
Found a few more functions that we shouldn't add types for.
  • Loading branch information
person142 committed Apr 25, 2020
1 parent 2011153 commit 0d9b2c8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,24 @@
"numpy": {
# Stdlib modules in the namespace by accident
"absolute_import",
"division",
"print_function",
"warnings",
# Accidentally public
# Accidentally public, deprecated, or shouldn't be used
"Tester",
"add_docstring",
"add_newdoc",
"add_newdoc_ufunc",
"core",
"fastCopyAndTranspose",
"get_array_wrap",
"int_asbuffer",
"oldnumeric",
"recfromcsv",
"recfromtxt",
"safe_eval",
"set_numeric_ops",
"test",
# Builtins
"bool",
"complex",
Expand All @@ -41,6 +54,9 @@
"ppmt",
"pv",
"rate",
# More standard names should be preferred
"alltrue", # all
"sometrue", # any
}
}

Expand Down

0 comments on commit 0d9b2c8

Please sign in to comment.