From 010f841008135f8b89e4bc6cceee793fceaa87fe Mon Sep 17 00:00:00 2001 From: CyberNobie Date: Mon, 16 Dec 2024 18:47:24 +0530 Subject: [PATCH 1/2] Ensure hatch is installed before running tests --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index df7189d..ca8bd03 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio To run the tests for this project, use the following command: ```sh +pip install hatch hatch shell hatch test ``` From 24b52b2b8f824e0721c548892beedf5d0a285518 Mon Sep 17 00:00:00 2001 From: gagb Date: Mon, 16 Dec 2024 17:35:47 -0800 Subject: [PATCH 2/2] Improve readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0232935..7079dbf 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio ### Running Tests -To run the tests for this project, use the following command: +To run tests, install `hatch` using `pip` or other methods as described [here](https://hatch.pypa.io/dev/install). ```sh pip install hatch @@ -105,6 +105,8 @@ hatch test ### Running Pre-commit Checks +Please run the pre-commit checks before submitting a PR. + ```sh pre-commit run --all-files ```