-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix quality issues reported by DeepSource (#574)
* Fix quality issues reported by DeepSource Fixes: - PYL-W0612: Rename unused variable to `_` - PYL-C0123: Use `isinstance()` for checking type - PAP-W0011: Use `dict.items()` to iterate over a dictionary - PAP-W0012: Use `dict.get()` to access value from dictionary instead of an `if` query to check whether the key exists - PYL-C0325: Remove superfluous brackets `()` - PYL-R1701: Merge multiple consecutive `isinstance()` calls into one * Use `six.iteritems()` to iterate over the dictionary
- Loading branch information
1 parent
f51dbeb
commit b355357
Showing
6 changed files
with
20 additions
and
23 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
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
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