-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
🛠 code-qualitychange type: code-qualitychange type: code-quality
Description
Python 3.8 adds the walrus operator. This allows to write some code lines in a more compact form.
We should review our code bases for places where we can use the walrus operator in a beneficial way. Usages of re.match are a common case, maybe there are also some automated tools that can check for places. It is not expected that we can find all places in one go.
A PR in this direction is very welcome. As long as #3728 is open, it should be based on the drop-py-37 branch. If you would like to send a PR, please be sure to read our contribution guide and leave a short comment so that we can assign you.
Metadata
Metadata
Assignees
Labels
🛠 code-qualitychange type: code-qualitychange type: code-quality