core.pandas: add check for 'error' column + add empty one by default
This commit is contained in:
parent
3a1e21635a
commit
df9a7f7390
7 changed files with 82 additions and 30 deletions
|
@ -168,7 +168,7 @@ def config_ok(args) -> bool:
|
|||
sys.exit(1)
|
||||
|
||||
cfg_path = cfg.__file__# todo might be better to use __path__?
|
||||
info(f"config file: {cfg_path}")
|
||||
info(f"config file : {cfg_path}")
|
||||
|
||||
import my.core as core
|
||||
try:
|
||||
|
@ -195,7 +195,7 @@ See https://github.com/karlicoss/HPI/blob/master/doc/SETUP.org#setting-up-module
|
|||
if mres is not None: # has mypy
|
||||
rc = mres.returncode
|
||||
if rc == 0:
|
||||
info('mypy check: success')
|
||||
info('mypy check : success')
|
||||
else:
|
||||
error('mypy check: failed')
|
||||
errors.append(RuntimeError('mypy failed'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue