PEP8:
- E117: over-indented
- E123: closing bracket does not match indentation
of opening bracket's line
- E125: continuation line with the same indent as the next
logical line
- E305: expected 2 blank lines after class or function
definition
- E402: module level import not at top of file
- E501: line too long
- H216: flag use of third party mock
Test Plan:
1. Perform `tox` command
- Pass in py39, pylint, pep8
Closes-bug: 2033294
Change-Id: I635df8e809905cff582bd9d5eb57b91133560cf9
Signed-off-by: Hugo Brito <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/893000 /opendev. org/starlingx/ distcloud/ commit/ 4438b8fd5579f20 ece09e670b712e3 afd691bd79
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4438b8fd5579f20 ece09e670b712e3 afd691bd79
Author: Hugo Brito <email address hidden>
Date: Mon Aug 28 19:35:23 2023 -0300
Update tox pylint/pep8 for dcmanager
This commit enables the check of new pylint/pep8
violations.
PYLINT - All convention related checks, except: class-docstring function- docstring module- docstring using-f- string outside- toplevel iterating- dictionary lambda- assignment
- missing-
- missing-
- missing-
- consider-
- invalid-name
- import-
- too-many-lines
- consider-
- unnecessary-
PEP8:
- E117: over-indented
- E123: closing bracket does not match indentation
of opening bracket's line
- E125: continuation line with the same indent as the next
logical line
- E305: expected 2 blank lines after class or function
definition
- E402: module level import not at top of file
- E501: line too long
- H216: flag use of third party mock
Test Plan:
1. Perform `tox` command
- Pass in py39, pylint, pep8
Closes-bug: 2033294
Change-Id: I635df8e809905c ff582bd9d5eb57b 91133560cf9
Signed-off-by: Hugo Brito <email address hidden>