Gollum@feddit.de to Programmer Humor@programming.dev · 1 year agoA fun simple gamei.imgur.comimagemessage-square41fedilinkarrow-up1894arrow-down120
arrow-up1874arrow-down1imageA fun simple gamei.imgur.comGollum@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square41fedilink
minus-squareglad_cat@lemmy.sdf.orglinkfedilinkarrow-up47·1 year agoNo docstring, no shebang, no main function, no raw strings, and I’m sure they don’t have unit tests with a mocked filesystem.
minus-squareglad_cat@lemmy.sdf.orglinkfedilinkarrow-up3·1 year agoI like https://wemake-python-styleguide.readthedocs.io/en/latest/, it’s the Nazi version.
minus-squareMNByChoice@midwest.sociallinkfedilinkarrow-up3·edit-21 year ago it’s the Nazi version. I skimmed the linked doc and they don’t: Reformat code, since we believe that developers should do that Which seems more open and forgiving than some linters. What makes them strict and inflexible? Or did you mean actual Nazi run the project? (I hate that this is a possibility.) Edit: They do say they have lots of strict rules. So, I am going that is it.
minus-squareglad_cat@lemmy.sdf.orglinkfedilinkarrow-up3·1 year agoIt’s flake8 with all the rules enabled. You get a hundred warnings even for small programs. I love it.
No docstring, no shebang, no main function, no raw strings, and I’m sure they don’t have unit tests with a mocked filesystem.
Pylint is screaming right now.
I like https://wemake-python-styleguide.readthedocs.io/en/latest/, it’s the Nazi version.
I skimmed the linked doc and they don’t:
Which seems more open and forgiving than some linters. What makes them strict and inflexible?
Or did you mean actual Nazi run the project? (I hate that this is a possibility.)
Edit: They do say they have lots of strict rules. So, I am going that is it.
It’s flake8 with all the rules enabled. You get a hundred warnings even for small programs. I love it.
its 14 lines