In the codebase, there are instances where string concatenation is used to construct strings, such as:
return masked + '@' + dom
It is recommended to use f-strings for better readability and performance. For example, the above can be refactored to:
Action Items:
- Search for occurrences of string concatenation used for building strings, especially with variables and literals.
- Refactor these instances to use f-strings instead.
- Ensure all tests pass after the refactor.
Reference: Sourcery Rule: use-fstring-for-concatenation
I created this issue for @uditmanav17 from #3 (comment).
Tips and commands
Getting Help
In the codebase, there are instances where string concatenation is used to construct strings, such as:
It is recommended to use f-strings for better readability and performance. For example, the above can be refactored to:
Action Items:
Reference: Sourcery Rule: use-fstring-for-concatenation
I created this issue for @uditmanav17 from #3 (comment).
Tips and commands
Getting Help