Skip to content

Commit

Permalink
fix: extra kwargs don't seem to work
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Aug 10, 2022
1 parent 16eda8b commit fda05d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ignore =
D401 # "First line should be in imperative mood" -- this doesn't work for properties, see https://github.com/PyCQA/pydocstyle/issues/301
A003 # allow method names to be the same as python builtins
RST210 # inline strong start-string without end-string. This is OK in the case of **kwargs in parameters.
G004 # Logging statement uses f-string.
max-line-length = 88
# Should be 18.
max-complexity = 35
Expand Down
5 changes: 1 addition & 4 deletions hera_sim/adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,7 @@ def adjust_to_reference(
)

if conjugation_convention is not None:
logger.info(
"Conjugating target to %s convention...",
extra={"cc": conjugation_convention},
)
logger.info(f"Conjugating target to {conjugation_convention} convention...")
target.conjugate_bls(conjugation_convention)

if target_is_simulator:
Expand Down

0 comments on commit fda05d9

Please sign in to comment.