I lintered my code until all the complaints went away :D
(thanks for mentioning flake8, @michaelhoffman)
cc @o_guest @talyarkoni
-
-
Sorry if you have answered this already somewhere but what is the 'dev_NUMBER' prefix? [I'm curious.]
-
It's just really just 'poor' version control. Are my rough 'development' notebooks where I pilot code and keep some useful test snippets.
-
I want to easily go back to earlier checkpoints and not need to use git to see old vers, so I 'save as'. I do the same thing with Word docs.
-
Ah, fair enough. As long as you don't do the same with Word documents/binary files on git, you'll make it such a pain to d/l for yourself.
End of conversation
New conversation -
-
-
linters are great but soooomeetimes they annoy the crap out of me. don't tell me what to do!!
-
you can 'quieten' some hints in jetbrains productspic.twitter.com/T0tuF1eSq3
-
I don't mind some of them that much and I have admit I end up addressing almost all of them in Python.
-
I usually do too, but it can seriously kill my vibe when I'm flowin and in early stages.
-
Sometimes it's good to ignore pep8, at least at the beginning ;) see https://youtu.be/wf-BqAjZb8M
-
Totally. Itd be great to set up linter presets, bc some hints are useful for getting your code running (e.g. variable not defined, etc..)
-
Yep. I don't actually do the more extreme linting (like breaking lines) until the very end.
-
Personally, I fix that stuff right away. Usually by breaking down into multiple statements. But to each their own :)
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.