Skip to content

Commit 4239e5f

Browse files
committed
Merge branch 'release/3.0.0'
2 parents 272d8f6 + 04055eb commit 4239e5f

36 files changed

Lines changed: 698 additions & 2013 deletions

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI (pip)
2+
on: [push, pull_request]
3+
4+
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- uses: actions/setup-python@v4
10+
with:
11+
python-version: '3.11'
12+
- name: Python Lint
13+
run: |
14+
pip install ruff>=0.4.3
15+
ruff check .
16+
ruff format --check .
17+
build:
18+
strategy:
19+
matrix:
20+
python-version: ["3.11"]
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v3
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v4
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install -r requirements_dev.txt
34+
35+
- name: Install from source (required for the pre-commit tests)
36+
run: pip install .
37+
38+
- name: Test with pytest
39+
run: pytest tests/test_serialization.py

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# Ruff version.
4+
rev: v0.4.3
5+
hooks:
6+
# Run the linter.
7+
- id: ruff
8+
args: [ --fix ]
9+
# Run the formatter.
10+
- id: ruff-format

docs/Makefile

Lines changed: 0 additions & 177 deletions
This file was deleted.

docs/authors.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)