Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Commit 66ed43a

Browse files
authored
MAINT: add more functions to the blacklist (#73)
Found a few more functions that we shouldn't add types for.
1 parent fe4412b commit 66ed43a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

runtests.py

+15-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,22 @@
1616
"numpy": {
1717
# Stdlib modules in the namespace by accident
1818
"absolute_import",
19+
"division",
20+
"print_function",
1921
"warnings",
20-
# Accidentally public
22+
# Accidentally public, deprecated, or shouldn't be used
23+
"Tester",
2124
"add_docstring",
2225
"add_newdoc",
2326
"add_newdoc_ufunc",
27+
"core",
28+
"fastCopyAndTranspose",
29+
"get_array_wrap",
30+
"int_asbuffer",
31+
"oldnumeric",
32+
"safe_eval",
33+
"set_numeric_ops",
34+
"test",
2435
# Builtins
2536
"bool",
2637
"complex",
@@ -41,6 +52,9 @@
4152
"ppmt",
4253
"pv",
4354
"rate",
55+
# More standard names should be preferred
56+
"alltrue", # all
57+
"sometrue", # any
4458
}
4559
}
4660

0 commit comments

Comments
 (0)