Actions
Cleanup #52592
openmgr/dashboard: add more linters/checkers to back-end
Status:
New
Priority:
Normal
Assignee:
-
Category:
Build, CI, Dependencies & Tools
Target version:
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
There are some extra linters/static analyzers that may help improve/detect issues (all of them supporter by the PyCQA org):
- pycodestyle: former pep8
- bandit: security-related audits
- flake8 is already there, but there are some nice additions we're not yet using: bugbear (opinionated warnings, like
getattr(x, 'value')
instead ofx.value
). - modernize: to remove Py 2.x bits and use 3.x syntax.
- pydocstyle: to foster adherence to doc guidelines.
Additionally we could remove some of these tools (pylint, pycodestyle, mypy, ...) by using a high level wrapper like Pylama, which takes care of running those.
No data to display
Actions