Skip to content

Commit

Permalink
🎨 with Python 3.9 the typing with built-ins should be natively supported
Browse files Browse the repository at this point in the history
  • Loading branch information
enryH committed Oct 16, 2024
1 parent 25ddd5b commit 0b46735
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/njab/io/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import pathlib


Expand Down
2 changes: 0 additions & 2 deletions src/njab/plotting/km.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

try:
import lifelines.statistics
from lifelines import KaplanMeierFitter
Expand Down
2 changes: 1 addition & 1 deletion src/njab/sklearn/pca.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import annotations
from typing import Optional

import matplotlib
import pandas as pd
import sklearn.decomposition
Expand Down
2 changes: 0 additions & 2 deletions src/njab/stats/ancova.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"""Analysis of covariance using pingouin and statsmodels."""
from __future__ import annotations

import numpy as np
import pandas as pd
import pingouin as pg
Expand Down
1 change: 0 additions & 1 deletion src/njab/stats/groups_comparision.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Bionomial test and t-test for groups comparision."""
from __future__ import annotations
import logging
import pandas as pd
import pingouin as pg
Expand Down

0 comments on commit 0b46735

Please sign in to comment.