diff --git a/README.md b/README.md index 5e38709..91b0718 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,18 @@ brew install gradle ``` -Reference: https://stackoverflow.com/questions/60403775/how-to-setup-a-java-development-environment-for-z3 \ No newline at end of file +Reference: https://stackoverflow.com/questions/60403775/how-to-setup-a-java-development-environment-for-z3 + +## Running tests + +1. Install poetry + +```bash +poetry install +``` + +2. Run tests + +```bash +poetry run python run_tests.py +``` diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..06ddadf --- /dev/null +++ b/poetry.lock @@ -0,0 +1,30 @@ +# This file is automatically @generated by Poetry 2.4.1 and should not be changed by hand. + +[[package]] +name = "argparse" +version = "1.4.0" +description = "Python command-line parsing library" +optional = false +python-versions = "*" +groups = ["main"] +files = [ + {file = "argparse-1.4.0-py2.py3-none-any.whl", hash = "sha256:c31647edb69fd3d465a847ea3157d37bed1f95f19760b11a47aa91c04b666314"}, + {file = "argparse-1.4.0.tar.gz", hash = "sha256:62b089a55be1d8949cd2bc7e0df0bddb9e028faefc8c32038cc84862aefdd6e4"}, +] + +[[package]] +name = "toml" +version = "0.10.2" +description = "Python Library for Tom's Obvious, Minimal Language" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +groups = ["main"] +files = [ + {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, + {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, +] + +[metadata] +lock-version = "2.1" +python-versions = ">=3.12" +content-hash = "493d2aaf08fc660506c4b791414608e9729b3966057d9512d5941c7cabefe57f" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d3541b5 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[project] +name = "pbatakjava" +version = "0.1.0" +description = "" +authors = [ + {name = "luthfan",email = "luthfanlubis@gmail.com"} +] +readme = "README.md" +requires-python = ">=3.12" +dependencies = [ + "argparse (>=1.4.0,<2.0.0)", + "toml (>=0.10.2,<0.11.0)" +] + + +[build-system] +requires = ["poetry-core>=2.0.0,<3.0.0"] +build-backend = "poetry.core.masonry.api" + +[tool.poetry] +package-mode = false