From 75e89d369c863c57bef7ca9749db8411de6837db Mon Sep 17 00:00:00 2001 From: Matthew Horton Date: Wed, 18 Aug 2021 10:36:04 -0700 Subject: [PATCH] Update unyt/unit_registry.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make new argument keyword only Co-authored-by: Clément Robert --- unyt/unit_registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unyt/unit_registry.py b/unyt/unit_registry.py index 76e35f92..0148bf64 100644 --- a/unyt/unit_registry.py +++ b/unyt/unit_registry.py @@ -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: