Skip to content

Commit 78ef3f0

Browse files
committed
Add type hints for filter function and bump to patch version 1.0.1.
1 parent c291a5b commit 78ef3f0

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pyspi"
7-
version = "1.0.0"
7+
version = "1.0.1"
88
authors = [
99
{ name ="Oliver M. Cliff", email="oliver.m.cliff@gmail.com"},
1010
]

pyspi/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
"""pyspi utility functions."""
21
import numpy as np
32
from scipy.stats import zscore
43
import warnings
@@ -142,7 +141,7 @@ def check_optional_deps():
142141

143142
return isAvailable
144143

145-
def filter_spis(keywords, output_name=None, configfile=None):
144+
def filter_spis(keywords: list[str], output_name: str = None, configfile: str = None) -> None:
146145
"""
147146
Filter a YAML using a list of keywords, and save the reduced set as a new
148147
YAML with a user-specified name (or a random one if not provided) in the

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
'data/standard_normal.npy',
6262
'data/cml7.npy']},
6363
include_package_data=True,
64-
version='1.0.0',
64+
version='1.0.1',
6565
description='Library for pairwise analysis of time series data.',
6666
author='Oliver M. Cliff',
6767
author_email='oliver.m.cliff@gmail.com',

0 commit comments

Comments
 (0)