mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-06-30 08:49:28 +02:00
[Fix] Fixed remaining flake8 errors
This commit is contained in:
parent
4f1606d26a
commit
d45b43e6de
2 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,7 @@ from typing import Union, TYPE_CHECKING
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from .correlators import Corr
|
from .correlators import Corr
|
||||||
|
|
||||||
|
|
||||||
def print_config():
|
def print_config():
|
||||||
"""Print information about version of python, pyerrors and dependencies."""
|
"""Print information about version of python, pyerrors and dependencies."""
|
||||||
config = {"system": platform.system(),
|
config = {"system": platform.system(),
|
||||||
|
|
|
@ -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]:
|
def _determine_gap(o: Obs, e_content: dict[str, list[str]], e_name: str) -> Union[int64, int]:
|
||||||
gaps = []
|
gaps = []
|
||||||
for r_name in e_content[e_name]:
|
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):
|
if isinstance(my_idl, range):
|
||||||
gaps.append(my_idl.step)
|
gaps.append(my_idl.step)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue