Skip to content

Commit

Permalink
fix mypy / black issues
Browse files Browse the repository at this point in the history
  • Loading branch information
msackerm committed Nov 22, 2023
1 parent 94c4939 commit 9a5044e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flarestack/core/minimisation.py
Expand Up @@ -1240,7 +1240,7 @@ class LargeCatalogueMinimisationHandler(FixedWeightMinimisationHandler):
but much less burdensome for memory.
"""

compatible_llh = ["standard_matrix","std_matrix_kde_enabled"]
compatible_llh = ["standard_matrix", "std_matrix_kde_enabled"]
compatible_negative_n_s = False
compatible_injectors = ["low_memory_injector"]

Expand Down Expand Up @@ -1271,7 +1271,7 @@ def add_injector(self, season, sources):

@MinimisationHandler.register_subclass("fit_weights")
class FitWeightMinimisationHandler(FixedWeightMinimisationHandler):
compatible_llh = ["spatial", "fixed_energy", "standard","standard_kde_enabled"]
compatible_llh = ["spatial", "fixed_energy", "standard", "standard_kde_enabled"]
compatible_negative_n_s = False

def __init__(self, mh_dict):
Expand Down
5 changes: 4 additions & 1 deletion mypy.ini
Expand Up @@ -21,4 +21,7 @@ ignore_missing_imports = True
ignore_missing_imports = True

[mypy-numexpr]
ignore_missing_imports = True
ignore_missing_imports = True

[mypy-photospline.*]
ignore_missing_imports = True

0 comments on commit 9a5044e

Please sign in to comment.