Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no warning for duplicate classes #115

Closed
pyflakes-bot opened this issue Aug 9, 2011 · 3 comments
Closed

no warning for duplicate classes #115

pyflakes-bot opened this issue Aug 9, 2011 · 3 comments

Comments

@pyflakes-bot
Copy link

Original report by glyph on Launchpad:


If you have a Python program like this:

class Foo: pass
class Foo: pass

Pyflakes won't emit a warning, but it should.

@pyflakes-bot
Copy link
Author

Original comment by hjd on Launchpad:


Confirmed. Pyflakes 0.5.0 prints no warning on a file containing your example.

Pylint warns about the duplicate class though.

@pyflakes-bot
Copy link
Author

Original comment by florent.x (@florentx?) on Launchpad:


Fixed in trunk.
http://bazaar.launchpad.net/~divmod-dev/divmod.org/trunk/revision/2685

@pyflakes-bot
Copy link
Author

Original comment by florent.x (@florentx?) on Launchpad:


Of course I linked the old repository...

The current one is:
http://bazaar.launchpad.net/~divmod-dev/pyflakes/trunk/revision/42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant