Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9a12196

Browse files
committed
DEV: make spin mypy run spin build
For consistency with `spin test`. I wondered why `spin mypy` had been ignoring my changes and printing stale results.
1 parent 4e2d3f0 commit 9a12196

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.spin/cmds.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ def ipython(*, ipython_args, build_dir):
544544
def mypy(ctx):
545545
"""🦆 Run Mypy tests for NumPy
546546
"""
547+
ctx.invoke(build)
547548
env = os.environ
548549
env['NPY_RUN_MYPY_IN_TESTSUITE'] = '1'
549550
ctx.params['pytest_args'] = [os.path.join('numpy', 'typing')]

0 commit comments

Comments
 (0)