Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: 3.12
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- uses: actions/cache@v5
with:
path: |
Expand Down
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ repos:
# Run the formatter
- id: ruff-format
args: ['--line-length', '79']

- repo: local
hooks:
- id: uv-sync
name: UV sync dependencies
entry: uv sync --dev --locked --all-packages --all-extras
language: system
pass_filenames: false

#####
# R
- repo: https://github.com/lorenzwalthert/precommit
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ This project is a calibration runner framework that can be installed and integra

CDC Center for Forecasting and Outbreak Analytics.

## Getting Started
This project uses `uv` for python venv management. Be sure to have `uv` [installed on your machine](https://docs.astral.sh/uv/getting-started/installation/). To begin, ensure all workspaces in the repo are synchronized by running

```{bash}
uv sync --all-packages --all-extras
```

## General Disclaimer
This repository was created for use by CDC programs to collaborate on public health related projects in support of the [CDC mission](https://www.cdc.gov/about/organization/mission.htm). GitHub is not hosted by the CDC, but is a third party website used by CDC and its partners to share information and collaborate on software. CDC use of GitHub does not imply an endorsement of any one particular service, product, or enterprise.

Expand Down
Empty file added packages/.gitkeep
Empty file.
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[project]
name = "calibrationtools"
version = "0.1.0"
description = "Calibration runner framework to fit models to data."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"numpy>=2.3.4",
"pyarrow>=23.0.0",
"pytest>=9.0.2",
"scipy>=1.16.3",
]

[build-system]
requires = ["uv_build>=0.8.13,<0.9.0"]
build-backend = "uv_build"

[tool.uv]
package = true
Empty file.
248 changes: 248 additions & 0 deletions uv.lock

Large diffs are not rendered by default.