Skip to content

Commit b0e8050

Browse files
committed
fix type annotation
rebuild and retest
1 parent a546de5 commit b0e8050

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

build/lib/data_algebra/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _mk_type_conversion_table() -> Dict[type, type]:
7070
construction.
7171
"""
7272

73-
type_conversions_table = dict()
73+
type_conversions_table: Dict[type, type] = dict()
7474
# DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`.
7575
# To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe.
7676
# If you specifically wanted the numpy scalar type, use `np.bool_` here.

coverage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ data_algebra/util.py 140 29 79%
134134
TOTAL 5263 908 83%
135135

136136

137-
============================= 249 passed in 28.53s =============================
137+
============================= 249 passed in 27.37s =============================

data_algebra/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _mk_type_conversion_table() -> Dict[type, type]:
7070
construction.
7171
"""
7272

73-
type_conversions_table = dict()
73+
type_conversions_table: Dict[type, type] = dict()
7474
# DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`.
7575
# To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe.
7676
# If you specifically wanted the numpy scalar type, use `np.bool_` here.
2 Bytes
Binary file not shown.

dist/data_algebra-1.2.1.tar.gz

14 Bytes
Binary file not shown.

docs/data_algebra/util.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h1 class="modulename">
144144
<span class="sd"> construction.</span>
145145
<span class="sd"> &quot;&quot;&quot;</span>
146146

147-
<span class="n">type_conversions_table</span> <span class="o">=</span> <span class="nb">dict</span><span class="p">()</span>
147+
<span class="n">type_conversions_table</span><span class="p">:</span> <span class="n">Dict</span><span class="p">[</span><span class="nb">type</span><span class="p">,</span> <span class="nb">type</span><span class="p">]</span> <span class="o">=</span> <span class="nb">dict</span><span class="p">()</span>
148148
<span class="c1"># DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`.</span>
149149
<span class="c1"># To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe.</span>
150150
<span class="c1"># If you specifically wanted the numpy scalar type, use `np.bool_` here.</span>

0 commit comments

Comments
 (0)