aboutsummaryrefslogtreecommitdiffstats
path: root/pylint.cfg
AgeCommit message (Collapse)AuthorFilesLines
2023-10-17feat(pylint): upgrade version and configVratko Polak1-187/+534
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>
2019-12-05Deal with some "pylint: disable=" commentsVratko Polak1-1/+2
+ 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>
2019-11-29Python3: PIP requirementPeter Mikus1-1/+8
- Install via PIP3 - Use virtualenv Python3 interpret Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iad22b344b418a1d91774d23d5ea17bfd48d394b3
2019-08-14DO_NOT_MERGE CSIT-1194 - Framework easy pylint improvementsMiroslav Los1-1/+5
- 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
2017-02-23Add pypcap python requirementMatej Klotton1-1/+1
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>
2017-01-05Fix pylint messagesPeter Mikus1-2/+2
Change-Id: I78ca27169f7f0fd6d786f222684e4c482ae54a43 Signed-off-by: pmikus <pmikus@cisco.com>
2016-12-16Pylint fixesTibor Frank1-4/+4
- Fix PyLint errors - Fix comments in touched python modules Change-Id: I26db2d292a41969cf38b9b0bdd49c4fb15349102 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-11-24Fix documentation and pylint errorspmikus1-9/+9
- Fix documentation to be comliant with sphinx - Fix pylint errors Change-Id: I64acaa6c330c5a3b2975efc4120260813a2b3a92 Signed-off-by: pmikus <pmikus@cisco.com>
2016-02-25Some changes in pylint configurationMatus Fabian1-2/+2
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>
2016-02-08New version of RF tests.Stefan Kobza1-0/+280
Change-Id: I241a2b7a7706e65f71cfd4a62e2a40f053fc5d07 Signed-off-by: Stefan Kobza <skobza@cisco.com>