p4lang / tdi

Table-Driven Interface (TDI) for a P4-programmable backend device.
Apache License 2.0
40 stars 23 forks source link

Lot of pylint errors on TDI python code #128

Open dineshintel opened 1 year ago

dineshintel commented 1 year ago

$ pylint -E tdi_python/tdicli.py ***** Module tdicli third-party/tdi/tdi_python/tdicli.py:61:4: E0101: Explicit return in init (return-in-init) third-party/tdi/tdi_python/tdicli.py:260:15: E1101: Class 'value' has no 'decode' member (no-member) third-party/tdi/tdi_python/tdicli.py:461:27: E1101: Instance of 'TDIContext' has no '_get_children' member (no-member) third-party/tdi/tdi_python/tdicli.py:467:33: E1101: Instance of 'TDIContext' has no '_parent_node' member (no-member) third-party/tdi/tdi_python/tdicli.py:474:18: E1101: Instance of 'TDIContext' has no '_parent_node' member (no-member) third-party/tdi/tdi_python/tdicli.py:815:24: E1101: Instance of 'TDILeaf' has no 'get_default' member (no-member) third-party/tdi/tdi_python/tdicli.py:906:12: E1111: Assigning result of a function call, where the function has no return (assignment-from-no-return) third-party/tdi/tdi_python/tdicli.py:906:27: E1120: No value for argument 'type' in function call (no-value-for-parameter) third-party/tdi/tdi_python/tdicli.py:916:12: E1111: Assigning result of a function call, where the function has no return (assignment-from-no-return) third-party/tdi/tdi_python/tdicli.py:916:27: E1120: No value for argument 'type' in function call (no-value-for-parameter) third-party/tdi/tdi_python/tdicli.py:926:12: E1111: Assigning result of a function call, where the function has no return (assignment-from-no-return) third-party/tdi/tdi_python/tdicli.py:926:27: E1120: No value for argument 'type' in function call (no-value-for-parameter) third-party/tdi/tdi_python/tdicli.py:2278:20: E1101: Instance of 'TdiCli' has no 'cIntf_cls' member (no-member)