-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
library/network_connections.py - 'except' clause does nothing but pass and there is no explanatory comment. - Local variable 'dev_state' may be used before it is initialized. - Local variable 'dev_id' may be used before it is initialized. module_utils/network_lsr/argument_validator.py - 'except' clause does nothing but pass and there is no explanatory comment. module_utils/network_lsr/utils.py - Mixing implicit and explicit returns may indicate an error as implicit returns always return None. tests/unit/test_network_connections.py - Module 'network_lsr.argument_validator' is imported with both 'import' and 'import from'. - assertTrue(a == b) cannot provide an informative message. Using assertEqual(a, b) instead will give more informative messages. Signed-off-by: Noriko Hosoi <nhosoi@redhat.com>
- Loading branch information
Showing
4 changed files
with
107 additions
and
79 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
Oops, something went wrong.