Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.71 KB

template_README.md

File metadata and controls

37 lines (23 loc) · 1.71 KB

package_name

Description of the project/package. Make it super easy for people to understand what it does. Add links to external resources like Notion, SOWs, etc.if needed.

Features

Bullet form list of the most important features of the project/package.

Usage

How to use package_name. Include examples and code snippets.

Project Structure

  • package_name/: Contains the package logic
  • tests/: Contains tests for the package
  • exploration/: Contains exploratory code for testing new features

Development

This package has been created with pymc-labs/project-starter. It features:

  • 📦 pixi for dependency and environment management.
  • 🧹 pre-commit for formatting, spellcheck, etc. If everyone uses the same standard formatting, then PRs won't have flaky formatting updates that distract from the actual contribution. Reviewing code will be much easier.
  • 🏷️ beartype for runtime type checking. If you know what's going in and out of functions just by reading the code, then it's easier to debug. And if these types are even enforced at runtime with tools like beartype, then there's a whole class of bugs that can never enter your code.
  • 🧪 pytest for testing. Meanwhile, with beartype handling type checks, tests do not have to assert types, and can merely focus on whether the actual logic works.
  • 🔄 Github Actions for running the pre-commit checks on each PR, automated testing and dependency management (dependabot).

Prerequisites

Get started

  1. Run pixi install to install the dependencies.
  2. Run pixi r test to run the tests.