Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 3, 2023
1 parent dea1075 commit e12f107
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion appletree/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ def set_config(self, configs):
"""
set_global_config(configs)
warn("New config is set, please run deduce() and compile() again to update the simulation code.")
warn(
"New config is set, please run deduce() and compile() again to update the simulation code."
)

def show_config(self, data_names: Union[List[str], Tuple[str]] = ["cs1", "cs2", "eff"]):
"""Return configuration options that affect data_names.
Expand Down
2 changes: 2 additions & 0 deletions appletree/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ class Map(Config):
When using log-binning, we will first convert the positions to log space.
"""

required_parameter = None

def build(self, llh_name: Optional[str] = None):
Expand Down Expand Up @@ -384,6 +385,7 @@ class ConstantSet(Config):
mismatch will be catched when running.
"""

required_parameter = None

def build(self, llh_name: Optional[str] = None):
Expand Down

0 comments on commit e12f107

Please sign in to comment.