Skip to content

Commit

Permalink
Update unyt/unit_registry.py
Browse files Browse the repository at this point in the history
Make new argument keyword only

Co-authored-by: Clément Robert <cr52@protonmail.com>
  • Loading branch information
mkhorton and neutrinoceros authored Aug 18, 2021
1 parent 8f20ac7 commit 75e89d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unyt/unit_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class UnitRegistry:
_unit_system_id = None

def __init__(
self, add_default_symbols=True, lut=None, unit_system=None, strict=True
self, add_default_symbols=True, lut=None, unit_system=None, *, strict=True
):
self._unit_object_cache = {}
if lut:
Expand Down

0 comments on commit 75e89d3

Please sign in to comment.