pyflakes-bot

Results 37 comments of pyflakes-bot

*Original comment by [asmeurer](https://launchpad.net/~asmeurer) (@asmeurer?) on Launchpad:* ------------------------------------ The error seems correct to me. If you had ```python import bar class Foo: a = bar ``` then `Foo().a` would be...

*Original comment by [lelegaifax](https://launchpad.net/~lelegaifax) on Launchpad:* ------------------------------------ Well, I don't agree with your argument, but if that's instead valid, then I would expect that a very similar case, that is...

*Original comment by [asmeurer](https://launchpad.net/~asmeurer) (@asmeurer?) on Launchpad:* ------------------------------------ I think pyflakes automatically assumes functions and module level variables are "used" because they could just be defined to be importable from...

*Original comment by [bitglue](https://launchpad.net/~bitglue) (@bitglue?) on Launchpad:* ------------------------------------ Report seems legit to me. In the example: ```python import bar class Foo: def bar(self): pass ``` the bar import is unused,...

*Original comment by [asmeurer](https://launchpad.net/~asmeurer) (@asmeurer?) on Launchpad:* ------------------------------------ This is relevant for someone implementing this https://stackoverflow.com/questions/11024344/python-name-mangling-function

*Original comment by [florent.x](https://launchpad.net/~florent.x) (@florentx?) on Launchpad:* ------------------------------------ It would be nice, indeed. The legacy documentation has just an overview: http://divmod.readthedocs.org/en/latest/products/pyflakes.html With a pending pull request: https://github.com/MostAwesomeDude/divmod-docs/pull/8

*Original comment by [icordasc](https://launchpad.net/~icordasc) (@sigmavirus24?) on Launchpad:* ------------------------------------ I'd be interested in helping set up docs on ReadTheDocs. I can send a pull request soon.

*Original comment by [icordasc](https://launchpad.net/~icordasc) (@sigmavirus24?) on Launchpad:* ------------------------------------ Heh. Sorry for lying. It wasn't intentional. I should have free time in the up-coming week or two.

*Original comment by [icordasc](https://launchpad.net/~icordasc) (@sigmavirus24?) on Launchpad:* ------------------------------------ So I looked into this a little. As you can (maybe) tell by the stack trace what happens is we get stuck...

*Original comment by [jayvdb](https://launchpad.net/~jayvdb) (@jayvdb?) on Launchpad:* ------------------------------------ WIP patch up at https://github.com/pyflakes/pyflakes/pull/70 It looks like my solution performs roughly equivalently as the current code, with a definite measurable reduction...