app/libs/jsonEncoder.py
Avoid too many return
statements within this function. Open
Open
return json.JSONEncoder.default(self, obj)
Blank line at end of file Open
Open
- Read upRead up
- Exclude checks
Trailing blank lines are superfluous.
Okay: spam(1)
W391: spam(1)\n
However the last line should end with a new line (warning W292).