Skip to content

Commit

Permalink
fix(build): enable ipdb debugger on pytest --pdb,
Browse files Browse the repository at this point in the history
  • Loading branch information
ankostis committed Aug 11, 2019
1 parent 3b02b70 commit be276ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.cfg
Expand Up @@ -32,7 +32,8 @@ addopts = tests wltp README.rst docs/code.rst
#--doctest-modules --doctest-glob=README.rst
--cov-fail-under=69
# --cov=wltp.experiment --cov=wltp.model --cov=wltp.utils --cov=wltp.cycles
# --pdbcls=IPython.terminal.debugger:TerminalPdb
# --pdbcls=IPython.terminal.debugger:TerminalPdb CRASH: pytest-dev/pytest#2064
--pdbcls=ipdb:__main__.debugger_cls
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS

markers =
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -126,6 +126,7 @@ def clean_line(line):
"sphinx",
"tables", # pandas-IO for h5
"twine", # for PyPi long-description check
"ipdb", # for `pytest --pdb` (set in `setup.cfg`)
## For notebooks
#
"papermill",
Expand Down

0 comments on commit be276ee

Please sign in to comment.