Skip to content

Commit ff0cac4

Browse files
committed
refactor(config/base_config): make set_key not implemented
it's not used in base_config but should be overwritten in a child class
1 parent 038e0c7 commit ff0cac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/config/base_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def set_key(self, key, value):
2323
For now only strings are supported.
2424
We use to update the version number.
2525
"""
26-
return self
26+
raise NotImplementedError()
2727

2828
def update(self, data: dict):
2929
self._settings.update(data)

0 commit comments

Comments
 (0)