Hacker Newsnew | past | comments | ask | show | jobs | submit | shloub's commentslogin


Have you tried pyflakes?


No, and I think you just made my day. Thanks!

Or rather, I'd vaguely heard the name but I erroneously thought it was just another flake8 type thing.


pyllama is another project in the same space which I like. It uses pyflakes under the hood.

https://github.com/klen/pylama





Says it studies the complexity wrt the size of the input but doesn't say the size of n is O(log n) when it comes to the example :(


Hm, sounds like a bug. Which example are you referring to?


The size of an integer n is O(log n).


Ah, gotcha. I'll patch that up. Thanks!


I was referring to the print s*n example (O(n) being exponential wrt the size of the input). You're welcome ;)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: