Add hacking check
Fix broken hacking checks http://
# H101 Use TODO(NAME)
# H201 no 'except:' at least use 'except Exception:'
# H233 Python 3.x incompatible use of print operator
# H234 assertEquals is deprecated, use assertEqual
# H301 one import per line
# H302 import only modules.
# H305 imports not grouped correctly
# H306 imports not in alphabetical order
# H307 like imports should be grouped together
# H401 docstring should not start with a space
# H402 one line docstring needs punctuation
# H404 multi line docstring should start without a leading new line
# H405 multi line docstring summary not separated with an empty line
# H904 Wrap long lines in parentheses instead of a backslash
Blueprint information
- Status:
- Started
- Approver:
- Ilya Sviridov
- Priority:
- Low
- Drafter:
- Ilya Sviridov
- Direction:
- Approved
- Assignee:
- Andrii Ostapenko
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Slow progress
- Milestone target:
- liberty-1
- Started by
- Ilya Sviridov
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Prepares to turn on exluded hacking rules
Addressed by: https:/
Enables H302 rule
Addressed by: https:/
Makes fixes and enables H401 hacking rule
Work Items
Work items:
H101 Use TODO(NAME) : TODO
H201 no 'except:' at least use 'except Exception:' : TODO
H233 Python 3.x incompatible use of print operator : TODO
H234 assertEquals is deprecated, use assertEqual : TODO
H301 one import per line : TODO
H302 import only modules. : TODO
H305 imports not grouped correctly : TODO
H306 imports not in alphabetical order : TODO
H307 like imports should be grouped together : TODO
H401 docstring should not start with a space : TODO
H402 one line docstring needs punctuation : TODO
H404 multi line docstring should start without a leading new line : TODO
H405 multi line docstring summary not separated with an empty line : TODO
H904 Wrap long lines in parentheses instead of a backslash : TODO