Skip to content

Commit

Permalink
refactor!: LicenseExpression() optional args are named args
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Apr 19, 2024
1 parent 7ca2455 commit 66eeac9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cyclonedx/model/license.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ class LicenseExpression:
"""

def __init__(
self, value: str,
# *, # all optional args are intended to be keyword-args
self, value: str, *,
acknowledgement: Optional[LicenseAcknowledgement] = None
) -> None:
self._value = value
Expand Down

0 comments on commit 66eeac9

Please sign in to comment.