No, #pylint, these parentheses are not superfluous. Not even remotely:

substantial_removals_found = (any_removes != trivial_removes)
substantial_insertions_found = (any_inserts != trivial_inserts)

Now how to patch pylint to make it accept this code without disabling the entire check?

#Python #CodeQuality

Thanks, #pylint:

W0301: Unnecessary semicolon (unnecessary-semicolon)

but that ';' is inside an f-string, and you don't get to tell me what I can and can't do with the strings I want to generate.

Did a bit of work towards making my #RPCKittens a project others might use or contribute to: basic automated tests and started using #pylint.

I added a git hook that runs both before pushing, to keep me honest.

Oh, and I found a use for type hinting! Type hinting on exposed API functions enables automagic arg validation/conversion. Need to figure out return values as well.

Patting myself on the back, having a cookie.

https://github.com/mailpile/kettlingar

GitHub - mailpile/kettlingar: RPC Kittens! Cute asyncio HTTP-RPC microservices for fun and profit.

RPC Kittens! Cute asyncio HTTP-RPC microservices for fun and profit. - mailpile/kettlingar

GitHub

Info #dev #python pour celleux qui, comme moi, écrivent du pyhton seulement 2-3 fois par mois :

On peut générer le fichier de configuration #pylint avec la commande suivante :

pylint --generate-rcfile > .pylinrc

Le truc génial, c'est que ça met toutes les règles avec leur valeurs par défaut ET des commentaires qui expliquent leur rôle.

Y a plus qu'à bidouiller en fonction du projet.

Note to myself: even if you really like #neovim keep #vscode aside just in case. There was an extra line that neovim wasn't seeing that was affecting #pylint somehow.

If you disable a load of warnings in #pylint, your "max score" is still 10,

i think the max limit should reduce -> you disabled it
#python

#pylint won't tell you about compile time error , nor does black , if I am using #pyspark it won't tell me the api specs or foriegn libs my code depends on at some stage of using it , which might even be hadoop native libs .
I know its vague to ask but is there any tool that does somewhat better than this?
I heard something like python leveraging a bit on #typetheory
Ended up spending some time today writing a tiny #python program to pull down all the branches and PRs for a given repo to find what branches aren’t connected to a PR. Used just #vim with a #black and #pylint BufWritePre/Post. Felt like the old days!
#pylint is a useless and obsolete tool these days
I like writing high quality #Python code (by modifying #pylint settings until it stops complaining)