Munawar
Munawar
In file: label.py, class: `Label`, there is a special method `__lt__` that raises a `NotImplementedError`. If a special method supporting a binary operation is not implemented it should return `NotImplemented`....
In file: get_exploits.py, method: `get_exploits`, a logical expression uses the identity operator. A new object is created inside the identity check operation and then used for matching identity. Since this...
In file: bigip_provision.py, there are four comparisons of Collection length that each creates a logical short circuit. I suggested that the Collection length comparison should be done without creating a...
In file: main_window.py, the comparison of Collection length creates a logical short circuit. I suggested that the Collection length comparison should be done without creating a logical short circuit. Sponsorship...
In file: structured.py, method: `interpolate`, a logical expression uses the identity operator. A new object is created inside the identity check operation and then used for matching identity. Since this...
In file: reader_schism_native.py, method: `interpolate`, a logical expression uses the identity operator. A new object is created inside the identity check operation and then used for matching identity. Since this...
In file: structured.py, method: `interpolate`, a logical expression uses the identity operator. A new object is created inside the identity check operation and then used for matching identity. Since this...
In file: snitch.py, the comparison of Collection length creates a logical short circuit. The length of a collection is always greater than or equal to zero. So testing that a...
In file: __init__.py, the list named `__all__` contains an undefined name which can result in errors when this module is imported. I removed the undefined name from the list. Sponsorship...
In file: __init__.py, the list named `__all__` contains undefined names which can result in errors when this module is imported. I removed the undefined names from the list. For more...