Skip to content

Commit

Permalink
Merge pull request #18 from mj-will/clean-up
Browse files Browse the repository at this point in the history
Prep for release
  • Loading branch information
mj-will authored May 16, 2024
2 parents f5914f7 + c67c653 commit dfc5ac9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: [Ubuntu]
python-version: ["3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}-latest

steps:
Expand All @@ -31,6 +31,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e .[dev]
- name: Test with pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: trailing-whitespace
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
rev: 24.2.0
hooks:
- id: black
language_version: python3.10
1 change: 1 addition & 0 deletions examples/rosenbrock.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Basic example using the Rosenbrock likelihood."""

import os

import torch
Expand Down

0 comments on commit dfc5ac9

Please sign in to comment.