Skip to content

Commit

Permalink
Remove overlooked calls to print (#97)
Browse files Browse the repository at this point in the history
* Remove overlooked calls to `print`

* Set Version: 0.1.26

* Set Version: 0.1.27

---------

Co-authored-by: devops <devops@runtimeverification.com>
  • Loading branch information
tothtamas28 and devops authored Oct 13, 2023
1 parent f2aa083 commit da2afa9
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.26
0.1.27
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "kontrol"
version = "0.1.26"
version = "0.1.27"
description = "Foundry integration for KEVM"
authors = [
"Runtime Verification, Inc. <contact@runtimeverification.com>",
Expand Down
2 changes: 1 addition & 1 deletion src/kontrol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
if TYPE_CHECKING:
from typing import Final

VERSION: Final = '0.1.26'
VERSION: Final = '0.1.27'
2 changes: 0 additions & 2 deletions src/kontrol/foundry.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,7 @@ def latest_proof_version(
find the highest used proof ID, to be used as a default. Returns None if no version of this proof exists.
"""
proof_ids = listdir(self.proofs_dir)
print(proof_ids)
versions = {int(pid.split(':')[1]) for pid in proof_ids if pid.split(':')[0] == test}
print(versions)
return max(versions, default=None)

def free_proof_version(
Expand Down
14 changes: 0 additions & 14 deletions src/tests/integration/test_foundry_prove.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,20 +233,6 @@ def test_foundry_merge_nodes(foundry_root: Path, bug_report: BugReport | None, s
bug_report=bug_report,
)

show_res = foundry_show(
foundry_root,
test=test,
to_module=True,
minimize=False,
sort_collections=True,
omit_unstable_output=True,
pending=True,
failing=True,
failure_info=True,
port=server.port,
)
print(show_res)

check_pending(foundry_root, test, [4, 5])

foundry_step_node(foundry_root, test, node=4, depth=49, port=server.port)
Expand Down
1 change: 0 additions & 1 deletion src/tests/unit/test_foundry_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def contracts(self) -> dict[str, Contract]:
return ret

def get_optional_proof(self, test_id: str) -> Proof | None:
print(test_id)
return Proof.read_proof_data(LIST_APR_PROOF, test_id)


Expand Down

0 comments on commit da2afa9

Please sign in to comment.