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

The mccabe complexity output in module flake8 #56

Closed
fuqianz opened this issue Oct 16, 2017 · 2 comments
Closed

The mccabe complexity output in module flake8 #56

fuqianz opened this issue Oct 16, 2017 · 2 comments

Comments

@fuqianz
Copy link

fuqianz commented Oct 16, 2017

I have found that if a function name appears more than one time in a file, the output of McCabe complexity for this function name only appear once. I think it should output all of them.

@sigmavirus24
Copy link
Member

A function name will only have one registered associated function, so there's really only complexity for it (and that's the last defined usage of that name). I'm not convinced this needs to change.

@fuqianz
Copy link
Author

fuqianz commented Feb 5, 2018

So sorry for late. I can't agree more for your reply. Thanks

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

2 participants