Project

General

Profile

Actions

Cleanup #52592

open

mgr/dashboard: add more linters/checkers to back-end

Added by Ernesto Puerta over 2 years ago.

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 of x.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

Also available in: Atom PDF