test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Dong, JunX" <junx.dong@intel.com>
To: "Juraj Linkeš" <juraj.linkes@pantheon.tech>,
	"dts@dpdk.org" <dts@dpdk.org>
Cc: "Tu, Lijuan" <lijuan.tu@intel.com>, "Sun, QingX" <qingx.sun@intel.com>
Subject: RE: [dts] [V4] framework/*: Modified create_eal_parameters API to support flexibility
Date: Tue, 15 Mar 2022 01:38:34 +0000	[thread overview]
Message-ID: <DM5PR11MB140425E134C0AEA764AC5855EA109@DM5PR11MB1404.namprd11.prod.outlook.com> (raw)
In-Reply-To: <3dc1249a1e5e4368a3950ed954f54259@pantheon.tech>

Ok, I will confirm and fix it, thanks Juraj.

> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: Monday, March 14, 2022 6:10 PM
> To: Dong, JunX <junx.dong@intel.com>; dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>; Sun, QingX <qingx.sun@intel.com>
> Subject: RE: [dts] [V4] framework/*: Modified create_eal_parameters API to
> support flexibility
> 
> > Subject: [dts] [V4] framework/*: Modified create_eal_parameters API to
> > support flexibility
> >
> > Signed-off-by: Jun Dong <junx.dong@intel.com>
> 
> 
> >  class ParameterInvalidException(Exception):
> > -    pass
> > +    def __init__(self, param_name: str, param_value: Any):
> > +        self.param_name = param_name
> > +        self.param_value = param_value
> > +
> > +    def __str__(self) -> str:
> > +        return f'Invalid parameter of {self.param_name} about value
> > + of
> > {self.param_value}, Please reference API doc.'
> > +
> >
> 
> Hi Jun, the above section of the patch introduced these errors:
> framework/tester.py:277: [E] E1120 No value for argument 'param_value' in
> constructor call [pylint]
> framework/tester.py:286: [E] E1120 No value for argument 'param_value' in
> constructor call [pylint]
> framework/tester.py:298: [E] E1120 No value for argument 'param_value' in
> constructor call [pylint]
> 
> Would you please fix the usage of the newly implemented exception?
> 
> Thanks,
> Juraj


      reply	other threads:[~2022-03-15  1:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03  1:57 Jun Dong
2022-03-14 10:10 ` Juraj Linkeš
2022-03-15  1:38   ` Dong, JunX [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=DM5PR11MB140425E134C0AEA764AC5855EA109@DM5PR11MB1404.namprd11.prod.outlook.com \
    --to=junx.dong@intel.com \
    --cc=dts@dpdk.org \
    --cc=juraj.linkes@pantheon.tech \
    --cc=lijuan.tu@intel.com \
    --cc=qingx.sun@intel.com \
    /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).