diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9b85779d..06c19e9c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: docformatter - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.9.0 hooks: - id: mypy additional_dependencies: [types-PyYAML, types-tqdm] diff --git a/appletree/component.py b/appletree/component.py index bf250928..99d697f5 100644 --- a/appletree/component.py +++ b/appletree/component.py @@ -25,9 +25,9 @@ class Component: rate_name: str = "" norm_type: str = "" - add_eps_to_hist: bool = ( - True # add_eps_to_hist==True was introduced as only a workaround for likelihood blowup problem when using meshgrid binning - ) + # add_eps_to_hist==True was introduced as only a workaround + # for likelihood blowup problem when using meshgrid binning + add_eps_to_hist: bool = True force_no_eff: bool = False def __init__(self, name: Optional[str] = None, llh_name: Optional[str] = None, **kwargs):