From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Juraj Linkeš" <juraj.linkes@pantheon.tech>,
"ohilyard@iol.unh.edu" <ohilyard@iol.unh.edu>,
"Dong, JunX" <junx.dong@intel.com>
Cc: "dts@dpdk.org" <dts@dpdk.org>
Subject: RE: [PATCH v2] nics/net_device: fix pylama errors
Date: Fri, 14 Jan 2022 08:55:17 +0000 [thread overview]
Message-ID: <8f3ca36f16c543dfb57c0f014a98aea3@intel.com> (raw)
In-Reply-To: <1639582121-26177-1-git-send-email-juraj.linkes@pantheon.tech>
> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: 2021年12月15日 23:29
> To: Tu, Lijuan <lijuan.tu@intel.com>; ohilyard@iol.unh.edu; Dong, JunX
> <junx.dong@intel.com>
> Cc: dts@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>
> Subject: [PATCH v2] nics/net_device: fix pylama errors
>
> Pylama found the following errors:
> nics/net_device.py:104: [E] E0213 Method should have "self" as first argument
> [pylint]
> nics/net_device.py:114: [E] E1102 func is not callable [pylint]
> - moved the decorator outside class definition, which is the standard way to
> define decorators
> nics/net_device.py:206: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:297: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:309: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:321: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:401: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:441: [E] E0602 Undefined variable 'bus_id' [pylint]
> nics/net_device.py:461: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:490: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:516: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:519: [E] E0102 method already defined line 510 [pylint]
> nics/net_device.py:525: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:622: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
> nics/net_device.py:696: [E] E1101 Instance of 'NetDevice' has no
> 'current_driver' member [pylint]
>
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Applied
prev parent reply other threads:[~2022-01-14 8:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 12:18 [PATCH v1] ics/net_device: " Juraj Linkeš
2021-12-06 12:18 ` [PATCH v1] nics/net_device: " Juraj Linkeš
2021-12-15 15:28 ` [PATCH v2] " Juraj Linkeš
2022-01-14 8:55 ` Tu, Lijuan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8f3ca36f16c543dfb57c0f014a98aea3@intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=junx.dong@intel.com \
--cc=juraj.linkes@pantheon.tech \
--cc=ohilyard@iol.unh.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).