Dep Upgrade: fix tests and linter errors #1
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
neil dep upgrade
babashka/neil#110I've been curious about neil and looking for more open source clojure contributions for a while - I saw this clojurians share, I thought I'd take a shot at it.
The problem is that the
:dry-run
flag was being ignored when used like this:(call site in the code)
In fact,
:deps-file
is ignored here too.test-util/neil
expects all the neil args in a string as the first argument - the rest are ignored (except for:out
).This PR:
test-util/neil
to handle:deps-file
and:dry-run
explicitlyIt might be preferred to instead rewrite the call sites such that :dry-run is included in the first string arg:
Supporting a passed
:deps-file
may one day be useful for allowing tests to run in parallel.Feel free to merge or take whatever inspiration from this! Thanks for all the maintenance effort on these great tools!