Skip to content

Commit

Permalink
rm breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jun 18, 2024
1 parent b3f7626 commit 1d383f6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine pyyaml
pip install setuptools twine pyyaml build
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py bdist_wheel
python -m build
twine upload dist/*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ profile = "black"
skip_gitignore = true

[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers --doctest-modules --showlocals -s -v --durations=0"
addopts = "-ra --strict-config --strict-markers --doctest-modules --showlocals -v"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
junit_family = "xunit2"
minversion = "6.0"
Expand Down
1 change: 0 additions & 1 deletion reproschema/redcap2reproschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ def process_row(
rowData["ui"]["readonlyValue"] = True

for key, value in field.items():
# breakpoint()
if SCHEMA_MAP.get(key) in ["question", "description"] and value:
rowData.update({SCHEMA_MAP[key]: parse_html(value)})
elif SCHEMA_MAP.get(key) == "preamble" and value and add_preable:
Expand Down
2 changes: 0 additions & 2 deletions reproschema/tests/test_rs2redcap_redcap2rs.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ def compare_protocols(prot_tree_orig, prot_tree_final):
# TODO: check choices
# for key in ["minValue", "maxValue"]:
# if getattr(respopt_final, key) != getattr(respopt_orig, key):
# breakpoint()
# errors_list.append(print(f"Activity {act_name}: items {nm} have different {key}"))
return errors_list, warnings_list

Expand Down Expand Up @@ -405,7 +404,6 @@ def test_rs2redcap_redcap2rs(tmpdir):
"output_nimh/nimh_minimal/nimh_minimal/nimh_minimal_schema"
)

breakpoint()
http_kwargs = {}
stop, port = start_server()
http_kwargs["port"] = port
Expand Down

0 comments on commit 1d383f6

Please sign in to comment.