[Fix] Fixed remaining flake8 errors

This commit is contained in:
Fabian Joswig 2025-01-03 19:07:48 +01:00
parent 4f1606d26a
commit d45b43e6de
2 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@ from typing import Union, TYPE_CHECKING
if TYPE_CHECKING:
from .correlators import Corr
def print_config():
"""Print information about version of python, pyerrors and dependencies."""
config = {"system": platform.system(),

View file

@ -1855,7 +1855,7 @@ def cov_Obs(means: Union[int, list[float], float, list[int]], cov: Any, name: st
def _determine_gap(o: Obs, e_content: dict[str, list[str]], e_name: str) -> Union[int64, int]:
gaps = []
for r_name in e_content[e_name]:
my_idl =o.idl[r_name]
my_idl = o.idl[r_name]
if isinstance(my_idl, range):
gaps.append(my_idl.step)
else: