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

Refactor generate_changelog function #28

Open
stuartmccoll opened this issue Jun 1, 2019 · 0 comments
Open

Refactor generate_changelog function #28

stuartmccoll opened this issue Jun 1, 2019 · 0 comments
Labels
improvement Improvements to codebase required

Comments

@stuartmccoll
Copy link
Owner

stuartmccoll commented Jun 1, 2019

Running radon shows that the cyclomatic complexity for the generate_changelog function is much higher than any other function contained within the codebase.

$ radon cc -s changelog_generator/generator.py
changelog_generator/generator.py
    F 14:0 generate_changelog - C (19)

This makes it a good candidate for refactoring and for improving the unit test coverage.

@stuartmccoll stuartmccoll added the improvement Improvements to codebase required label Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvements to codebase required
Projects
None yet
Development

No branches or pull requests

1 participant