-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary This pull request add supports for `int`, `float` and `bool` types in `UP018` rule to convert empty call to the default value of the type or remove the call if a value of the same type is provided as an argument. ## Test Plan Added tests for `int`, `float` and `bool` types. Partially resolves #5988
- Loading branch information
1 parent
95e6258
commit 742f615
Showing
3 changed files
with
353 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.