-
Notifications
You must be signed in to change notification settings - Fork 11
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
style: avoid using :refer #58
Conversation
.getCanonicalPath | ||
bundler/parse)) | ||
sut/parse)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nowadays we would wrap these with ()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applies across the codebase.
(markdown/h2 "Minor") (sgen/complete-tag {:name "Minor" :version v/minor}) | ||
(markdown/h3 (markdown/emphasis "Patch")) (sgen/complete-tag {:name "Patch" :version v/patch}) | ||
(markdown/h3 "Pre-release") (sgen/complete-tag {:name "Pre-release" :version v/pre-release}) | ||
(markdown/h4 (markdown/emphasis "Build")) (sgen/complete-tag {:name "Build" :version v/build}))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would help readability if we would alias markdown
as md
instead. Not necessary change.
src/github_changelog/cli.clj
Outdated
[github-changelog.core :as core] | ||
[github-changelog.formatters.markdown :refer [format-tags]])) | ||
[github-changelog.formatters.markdown :as markdown])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed you still use markdown
here.
@@ -53,7 +53,7 @@ | |||
|
|||
(deftest parse-changes | |||
(are [pulls expected] (= expected (->> (g/complete-tag {:pulls pulls}) | |||
(conventional/parse-changes config) | |||
(sut/parse-changes config) | |||
:changes | |||
count)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also could use wrapping.
No description provided.