From c6c0e8f97aec2ee9ed0eddb9159d95be78932c53 Mon Sep 17 00:00:00 2001 From: Jake Faulkner Date: Tue, 14 May 2024 16:27:33 +1200 Subject: [PATCH 1/2] add deptry github action --- .github/workflows/deptry.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/deptry.yml diff --git a/.github/workflows/deptry.yml b/.github/workflows/deptry.yml new file mode 100644 index 0000000..99c4900 --- /dev/null +++ b/.github/workflows/deptry.yml @@ -0,0 +1,17 @@ +name: Deptry Dependency Check + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # Setup the minimum required python distribution + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + # Install deptry + - run: pip install deptry + # Run deptry to check that all dependencies are present. + - run: deptry . From 64603f1bbbaeafe14631075d6a27cccc9086ceb7 Mon Sep 17 00:00:00 2001 From: Jake Faulkner Date: Thu, 30 May 2024 15:30:36 +1200 Subject: [PATCH 2/2] Revert "add dev environment notes" This reverts commit c19df1b5f75f4e40349b25376aff5f4acc08e2f2. --- README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/README.md b/README.md index 8492889..2cd5d53 100644 --- a/README.md +++ b/README.md @@ -9,23 +9,6 @@ This repository contains a script and schema to generate a database storing faul - qcore - sqlite3 -## Setting up development environment - -Use [Poetry](https://python-poetry.org/) to setup and manage the virtual enviroment. From within the repo run - -```bash -$ poetry lock && poetry install -``` - -This will install all the dependencies required for development. To start a virtual environment run - -```bash -$ poetry shell -``` - -To integrate with PyCharm (if you use it) see [PyCharm's Documentation](https://www.jetbrains.com/help/pycharm/poetry.html#poetry-pyproject) - - ## Generate your own database 1. Obtain the CRU fault system solution (ask a member of the software team for this file). It should be a zip file with the following structure ```