Skip to content

Commit e675aa0

Browse files
committed
Merge branch 'main' into partial-reading
2 parents f30fdc2 + a34c88f commit e675aa0

File tree

97 files changed

+3928
-1464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+3928
-1464
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ If applicable, add screenshots to help explain your problem.
4646

4747
**Desktop (optional):**
4848

49-
- OS: [e.g. macOS, Windows, Linux]
50-
- Version [e.g. 22]
49+
- OS: [e.g. macOS, Windows, Linux]
50+
- Version [e.g. 22]
5151

5252
**Additional context**
5353
Add any other context about the problem here.

.github/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- release-ignore
5+
authors:
6+
- pre-commit-ci
7+
categories:
8+
- title: Major
9+
labels:
10+
- "release-major"
11+
- title: Minor
12+
labels:
13+
- "release-minor"
14+
- title: Changed
15+
labels:
16+
- "release-changed"
17+
- title: Fixed
18+
labels:
19+
- "release-fixed"
20+
- title: Other Changes
21+
labels:
22+
- "*"

.github/workflows/build.yaml

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

.github/workflows/release.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ on:
55
types: [published]
66

77
jobs:
8-
release:
9-
# requires that you have put your twine API key in your
10-
# github secrets (see readme for details)
8+
package_and_release:
119
runs-on: ubuntu-latest
12-
if: contains(github.ref, 'tags')
10+
if: startsWith(github.ref, 'refs/tags/v')
1311
steps:
14-
- name: Checkout code
15-
uses: actions/checkout@v3
16-
12+
- uses: actions/checkout@v3
1713
- name: Set up Python 3.12
1814
uses: actions/setup-python@v4
1915
with:
2016
python-version: "3.12"
21-
17+
cache: pip
18+
- name: Install build dependencies
19+
run: python -m pip install --upgrade pip wheel twine build
20+
- name: Build package
21+
run: python -m build
22+
- name: Check package
23+
run: twine check --strict dist/*.whl
2224
- name: Install hatch
2325
run: pip install hatch
24-
2526
- name: Build project for distribution
2627
run: hatch build
27-
2828
- name: Publish a Python distribution to PyPI
2929
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python: ["3.9", "3.12"]
21+
python: ["3.10", "3.12"]
2222
os: [ubuntu-latest]
2323
include:
2424
- os: macos-latest
25-
python: "3.9"
25+
python: "3.10"
2626
- os: macos-latest
2727
python: "3.12"
2828
pip-flags: "--pre"

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ __pycache__/
1717
/data/
1818

1919
# docs
20-
/docs
20+
docs/_build
21+
!docs/api/.md
22+
docs/**/generated
2123

2224
# IDEs
2325
/.idea/
@@ -29,8 +31,6 @@ __pycache__/
2931
# temp files
3032
temp/
3133

32-
# rst generated from myst
33-
docs/generated
3434

3535
# symlinks (luca) for extending the refactoring to satellite projects
3636
napari-spatialdata
@@ -47,3 +47,5 @@ _version.py
4747

4848
# other
4949
node_modules/
50+
51+
.asv/

.mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.9
2+
python_version = 3.10
33
plugins = numpy.typing.mypy_plugin
44

55
ignore_errors = False

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@ fail_fast: false
22
default_language_version:
33
python: python3
44
default_stages:
5-
- commit
6-
- push
5+
- pre-commit
6+
- pre-push
77
minimum_pre_commit_version: 2.16.0
88
ci:
99
skip: []
1010
repos:
1111
- repo: https://github.com/psf/black
12-
rev: 24.8.0
12+
rev: 24.10.0
1313
hooks:
1414
- id: black
15-
- repo: https://github.com/pre-commit/mirrors-prettier
16-
rev: v4.0.0-alpha.8
15+
- repo: https://github.com/rbubley/mirrors-prettier
16+
rev: v3.4.2
1717
hooks:
1818
- id: prettier
1919
- repo: https://github.com/asottile/blacken-docs
20-
rev: 1.18.0
20+
rev: 1.19.1
2121
hooks:
2222
- id: blacken-docs
2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.11.2
24+
rev: v1.14.1
2525
hooks:
2626
- id: mypy
2727
additional_dependencies: [numpy, types-requests]
2828
exclude: tests/|docs/
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: v0.6.8
30+
rev: v0.9.1
3131
hooks:
3232
- id: ruff
3333
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)