> -----Original Message----- > From: Power, Ciara <ciara.po...@intel.com> Some pylint checks found, good to address valid ones. #pylint-3.6 ./usertools/dpdk-telemetry.py or # pylint ./usertools/dpdk-telemetry.py ************* Module dpdk-telemetry W: 18, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation) W: 19, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation) C: 30, 0: Unnecessary parens after 'while' keyword (superfluous-parens) W: 41, 0: Bad indentation. Found 2 spaces, expected 4 (bad-indentation) W: 44, 0: Bad indentation. Found 2 spaces, expected 4 (bad-indentation) C: 1, 0: Invalid module name "dpdk-telemetry" (invalid-name) C: 1, 0: Missing module docstring (missing-docstring) C: 10, 0: Invalid constant name "telemetry_version" (invalid-name) C: 12, 0: Missing function docstring (missing-docstring) C: 21, 0: Missing function docstring (missing-docstring) C: 38, 0: Invalid constant name "fd" (invalid-name) >+def read_socket(buf_len): >+ return json.loads(reply) Close the open fd? >+ except: >+ print("Error in reply: ", reply) Close the open fd? >+ raise > +def handle_socket(path): <snip> > + fd.connect(path) > + except OSError: Good to add reason of error message. Do you need to close the fd? > + return
- [dpdk-dev] [PATCH v2 06/16] telemetry: add utility functi... Ciara Power
- Re: [dpdk-dev] [PATCH v2 06/16] telemetry: add utili... Wiles, Keith
- Re: [dpdk-dev] [PATCH v2 06/16] telemetry: add u... Bruce Richardson
- [dpdk-dev] [PATCH v2 08/16] ethdev: add callback support ... Ciara Power
- Re: [dpdk-dev] [PATCH v2 08/16] ethdev: add callback... Wiles, Keith
- Re: [dpdk-dev] [PATCH v2 08/16] ethdev: add call... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2 08/16] ethdev: add ... Morten Brørup
- [dpdk-dev] [PATCH v2 05/16] telemetry: introduce new tele... Ciara Power
- [dpdk-dev] [PATCH v2 09/16] usertools: add new telemetry ... Ciara Power
- Re: [dpdk-dev] [PATCH v2 09/16] usertools: add new t... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v2 09/16] usertools: add n... Bruce Richardson
- [dpdk-dev] [PATCH v2 11/16] examples/l3fwd-power: enable ... Ciara Power
- Re: [dpdk-dev] [PATCH v2 11/16] examples/l3fwd-power... Pattan, Reshma
- [dpdk-dev] [PATCH v2 12/16] telemetry: introduce telemetr... Ciara Power
- Re: [dpdk-dev] [PATCH v2 12/16] telemetry: introduce... Pattan, Reshma
- [dpdk-dev] [PATCH v2 10/16] rawdev: add callback support ... Ciara Power
- [dpdk-dev] [PATCH v2 13/16] telemetry: remove existing te... Ciara Power
- [dpdk-dev] [PATCH v2 16/16] doc: update telemetry documen... Ciara Power
- [dpdk-dev] [PATCH v2 14/16] lib: add telemetry as eal dep... Ciara Power
- [dpdk-dev] [PATCH v2 15/16] eal: add eal telemetry callba... Ciara Power