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

Feature request: node visitors for style metrics #206

Open
dollodart opened this issue Dec 11, 2020 · 2 comments
Open

Feature request: node visitors for style metrics #206

dollodart opened this issue Dec 11, 2020 · 2 comments

Comments

@dollodart
Copy link

dollodart commented Dec 11, 2020

For reference, please see https://github.com/dollodart/pymetrics. This amounts to adding new node visitors and is like issue #163. Since complexity metrics are used in linters which have the main purpose enforcing style rules you may want style metrics. These analytics could be useful in project-specific guidelines up to PEPs where you are trying to assess what stylistic rules most users want (nominally which are best).

Is this within the scope of this project and would a PR having node visitors like in the link for pymetrics be accepted?

@rubik
Copy link
Owner

rubik commented Feb 23, 2022

@dollodart Hi David, I missed this message and I see it only now. I'd say such a visitor would fit within the scope of the project, as it provides metrics similar to the Halstead complexity or the maintainability index.

I'd be happy to review a PR, it just needs to include tests and follow the code style of the rest of the project. Let me know if you are interested in working on it.

@dollodart
Copy link
Author

dollodart commented Mar 13, 2022 via email

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