Skip to content

Pass file_lock as positional argument#347

Merged
gaborbernat merged 1 commit intotox-dev:mainfrom
kwist-sgr:lock_file_as_positional_argument
Jun 22, 2024
Merged

Pass file_lock as positional argument#347
gaborbernat merged 1 commit intotox-dev:mainfrom
kwist-sgr:lock_file_as_positional_argument

Conversation

@kwist-sgr
Copy link
Contributor

@kwist-sgr kwist-sgr commented Jun 22, 2024

Reason

Make it possible to pass file_lock under a different name in the signature of the __init__ method of descendant classes

fixes tox-dev/filelock/issues/346

Related PRs

@kwist-sgr kwist-sgr changed the title Pass file_lock as positional argument Pass file_lock as positional argument Jun 22, 2024
@gaborbernat gaborbernat merged commit 9a979df into tox-dev:main Jun 22, 2024
@gaborbernat gaborbernat mentioned this pull request Sep 7, 2024
@gaborbernat gaborbernat mentioned this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: LockedJSONData.__init__() got an unexpected keyword argument 'lock_file' ; regression between 3.15.1 and 3.15.3

2 participants