alan-turing-institute / ARC-project-template

A template repo for ARC projects
MIT License
2 stars 0 forks source link

ARC-project-template

TODO A description of the project

Using this template

What this does

This repo has a blank directory structure for an ARC Python project, including setting up:

Pre-requisites

Setup

  1. Create a new repo from this template (green button "Use this template" top right -> create new repository), with a name in the format ARC-<project-name>, and clone it locally

  2. Edit the lines with TODO comments in pyproject.toml and .github/workflows/actions.yml, including changing the name of the src/todo_packagename directory.

  3. Update and install Poetry dependencies

    poetry update
    poetry install
  4. Update and install pre-commit hooks:

    poetry run pre-commit autoupdate
    poetry run pre-commit install --install-hooks
  5. Update the README with a description of the project and fill the other sections marked as TODO

  6. Delete the "Using this template" section of this readme, and optionally the file .github/workflows/update_template.yml

Links

Installation

  1. Clone this repository

  2. Install with pip:

    pip install .

Usage

TODO

Development

Developer Setup

  1. Install dependencies with Poetry

    poetry install
  2. Install pre-commit hooks:

    poetry run pre-commit install --install-hooks

Common Commands/Tasks