Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#151)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0)

* Style fix

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
  • Loading branch information
pre-commit-ci[bot] and dachengx authored Mar 17, 2024
1 parent ba4c14e commit e533a39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 3 additions & 3 deletions appletree/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e533a39

Please sign in to comment.