[Fix] Fix ruff errors and a few type annotations

This commit is contained in:
Fabian Joswig 2024-12-25 11:44:24 +01:00
parent 8d86295ac5
commit 2d34b355ed
5 changed files with 16 additions and 6 deletions

View file

@ -6,11 +6,13 @@ import matplotlib
import matplotlib.pyplot as plt
import pandas as pd
import pickle
from .obs import Obs
from .obs import Obs, CObs
from .version import __version__
from numpy import float64, int64, ndarray
from typing import List, Type, Union
from typing import List, Type, Union, TYPE_CHECKING
if TYPE_CHECKING:
from .correlators import Corr
def print_config():
"""Print information about version of python, pyerrors and dependencies."""