Skip to content

Commit f5aebe9

Browse files
author
LegrandNico
committed
Fix version management
1 parent 455a1bb commit f5aebe9

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: isort
66
files: ^systole/
77
- repo: https://github.com/ambv/black
8-
rev: 21.11b1
8+
rev: 21.12b0
99
hooks:
1010
- id: black
1111
language_version: python3
@@ -16,7 +16,7 @@ repos:
1616
- id: flake8
1717
files: ^systole/
1818
- repo: https://github.com/pre-commit/mirrors-mypy
19-
rev: 'v0.910-1' # Use the sha / tag you want to point at
19+
rev: 'v0.920' # Use the sha / tag you want to point at
2020
hooks:
2121
- id: mypy
2222
files: ^systole/

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import codecs
33
from setuptools import find_packages, setup
4+
from systole import __version__
45

56
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))
67
REQUIREMENTS_FILE = os.path.join(PROJECT_ROOT, "requirements.txt")
@@ -20,7 +21,7 @@ def get_requirements():
2021
DISTNAME = "systole"
2122
MAINTAINER = "Nicolas Legrand"
2223
MAINTAINER_EMAIL = "[email protected]"
23-
VERSION = "0.2.2"
24+
VERSION = __version__
2425

2526

2627
if __name__ == "__main__":

systole/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
from .plots import *
66
from .utils import *
77

8-
__version__ = "0.2.0a"
8+
__version__ = "0.2.2"

systole/plots/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pandas as pd
88
from bokeh.models import Column, ColumnDataSource, DataTable, TableColumn
99
from packaging.version import parse
10-
from tabulate import tabulate
10+
from tabulate import tabulate # type: ignore
1111

1212
from systole.hrv import frequency_domain, nonlinear_domain, time_domain
1313

0 commit comments

Comments
 (0)