Skip to content

Commit 4b47c37

Browse files
authored
Merge pull request #4100 from alejoe91/fix-future-annotations
Add future annotations in to_pynapple and upgrade python in publish pypi
2 parents 2512868 + 713f741 commit 4b47c37

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15-
- name: Set up Python 3.9
15+
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: '3.9'
18+
python-version: '3.12'
1919
- name: Install dependencies for testing
2020
run: |
2121
python -m pip install -U pip # Official recommended way

src/spikeinterface/exporters/to_pynapple.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from spikeinterface.core import SortingAnalyzer, BaseSorting
24
import numpy as np
35
from warnings import warn

0 commit comments

Comments
 (0)