[code-quality] These 2 errors of pylint are wrong (W0104)

2022-07-02 Thread Dedeco Balaco via code-quality
Hello, please reply to my address too, I am not subscribed to the mailing list. Click "reply all" or add my address when you reply to this message. min.py:41:4: W0104: Statement seems to have no effect (pointless-statement) min.py:42:4: W0104: Statement seems to have no effect (pointless-statemen

[code-quality] Re: These 2 errors of pylint are wrong (W0104)

2022-07-02 Thread Dan Stromberg
What if you use: bd.executemany( "INSERT INTO [...]", data ) ? On Sat, Jul 2, 2022 at 3:00 PM Dedeco Balaco via code-quality < [email protected]> wrote: > Hello, > > please reply to my address too, I am not subscribed to the mailing list. > Click "reply all" or add my addr

[code-quality] Re: These 2 errors of pylint are wrong (W0104)

2022-07-02 Thread Florian Bruhin
Hi, On Sat, Jul 02, 2022 at 06:00:35PM -0300, Dedeco Balaco via code-quality wrote: >     bd.executemany >     ( >     "INSERT INTO [...]", >     data >     ) This does not do what you think it does. Your bd.executemany function never gets called. Compare to e.g. print (