Skip to content

0Upjh80d/project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

[PROJECT TITLE]

Table of Contents

Getting Started

Prerequisites

TODO.

Create a Virtual Environment

uv (Recommended)

To manage our project dependencies, we are using uv which is an extremely fast Python package and project manager, written in Rust. For more information on how to get started with uv, please visit the uv documentation.

To create a virtual environment, run the following command:

uv venv

Once you have created a virtual environment, you may activate it.

On Linux or macOS, run the following command:

source .venv/bin/activate

On Windows, run:

.venv/Scripts/activate

Install Dependencies

uv sync

Install Git Hooks

There are three main Git hooks used in this project:

To set up Git hooks, run the following commands for Linux or Windows users respectively:

./scripts/setup_hooks.sh

or

./scripts/setup_hooks.ps1

You should see the following upon successful installation:

Git Hooks Installation

Successful Git Hooks Installation

Tip

You can manually run the command pre-commit run --all-files to lint and reformat your code. It is generally recommended to run the hooks against all of the files when working on your changes or fixes (usually pre-commit will only run on the changed files during commits).

The pre-commit will run regardless if you forget to explicitly call it. Nonetheless, it is recommended to call it explicitly so you can make any necessary changes in advanced.

Note

You should ensure that all pre-commit cases are satisfied before you push to GitHub (you should see that all have passed). If not, please debug accordingly or your pull request may be rejected and closed.

The run-checks.yml is a GitHub Action workflow that kicks off several GitHub Actions when a pull request is made. These actions check that your code have been properly linted and formatted before it is passed for review. Once all actions have passed and the PR approved, your changes will be merged to the main branch.

Project Structure

For more information on our project structure, please refer to the Project Structure guide.

Development

For more information on development, you may find the following documentations useful:

  • Data Management - Instructions and guidelines on retrieving and managing version-controlled datasets using DVC integrated with Azure Blob Storage.

Contributing

Please refer to the Contributing guide for detailed guidelines on contributing and the process for submitting pull requests.

About

Project template for projects.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published