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 ( "Hello World", 42 ) which will also not print anything: It refers to the "print" function (but not calling it), and then creates a tuple. Your code does the exact same thing. This is a bug in your code, and pylint is correct that those statements are pointless as-is. Florian -- m...@the-compiler.org | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
signature.asc
Description: PGP signature
_______________________________________________ code-quality mailing list -- code-quality@python.org To unsubscribe send an email to code-quality-le...@python.org https://mail.python.org/mailman3/lists/code-quality.python.org/ Member address: arch...@mail-archive.com