Age | Commit message (Collapse) | Author | Files | Lines |
|
Pylint version bumped to 3.0.1.
Upgrade is needed, because the old version
has only a limited understanding of type hints
and data classes (leading to many false errors).
Config values are simplified,
only few old customizations are kept.
Notably, max line length is increased to 88
(only here, not in other checkers).
Change-Id: I70802a32693a8f21515b9093b12e292f88ee9e3f
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
+ When possible, fix the violation.
+ Else, add a comment:
+ An explanation (if not already present) and keep disable.
+ A TODO (if not already present) and remove the disable.
- This makes tox job report more pylint violations,
but any such violation is fixable and should be fixed.
- Although some need to be fixed in VPP, such as enum item long names.
Change-Id: I48604b5eda070083d79dff1439620dbd9e798e1f
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
- Install via PIP3
- Use virtualenv Python3 interpret
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Iad22b344b418a1d91774d23d5ea17bfd48d394b3
|
|
- force a python2 environment in tox for pylint
- let pylint load some compiled modules for member checking
- allow locally enabled pylint rules
- ignore bad enum names
- ignore complexity for code to be refactored by other tickets
- broad excepts are acceptable sometimes
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Change-Id: If4c3a1b85e8609f074e1de8ce91fc9c4fedbeb38
|
|
Using pypcap's L2listen instead of standard AF_PACKET scapy can
see received Dot1Q tag.
Change-Id: Icb3dcb272a9611158a26a83fede7550bba3f367e
Signed-off-by: Matej Klotton <mklotton@cisco.com>
|
|
Change-Id: I78ca27169f7f0fd6d786f222684e4c482ae54a43
Signed-off-by: pmikus <pmikus@cisco.com>
|
|
- Fix PyLint errors
- Fix comments in touched python modules
Change-Id: I26db2d292a41969cf38b9b0bdd49c4fb15349102
Signed-off-by: Tibor Frank <tifrank@cisco.com>
|
|
- Fix documentation to be comliant with sphinx
- Fix pylint errors
Change-Id: I64acaa6c330c5a3b2975efc4120260813a2b3a92
Signed-off-by: pmikus <pmikus@cisco.com>
|
|
method name length changed from 30 to 40
max-args changed from 5 to 7
Change-Id: Iea3efc7c545236f97d230e6f99fce814d3598925
Signed-off-by: Matus Fabian <matfabia@cisco.com>
|
|
Change-Id: I241a2b7a7706e65f71cfd4a62e2a40f053fc5d07
Signed-off-by: Stefan Kobza <skobza@cisco.com>
|