pyoracle_forms/property_types.py
File property_types.py
has 508 lines of code (exceeds 250 allowed). Consider refactoring. Invalid
Invalid
import enum
class Properties(enum.IntEnum): # pragma: no cover
keyboard_accelerator = 2
Take the required action to fix the issue indicated by this "FIXME" comment. Open
Open
name_ = 154 # fixme: conflicts with enum.IntEnum...
- Read upRead up
- Exclude checks
FIXME
tags are commonly used to mark places where a bug is suspected, but which the developer wants to deal with later.
Sometimes the developer will not have the time or will simply forget to get back to that tag.
This rule is meant to track those tags and to ensure that they do not go unnoticed.
Noncompliant Code Example
def divide(numerator, denominator): return numerator / denominator # FIXME denominator value might be 0
See
- MITRE, CWE-546 - Suspicious Comment