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

Lint all the code #323

Merged
merged 31 commits into from
Jun 10, 2022
Merged

Lint all the code #323

merged 31 commits into from
Jun 10, 2022

Conversation

gphilipp
Copy link
Contributor

@gphilipp gphilipp commented Jun 1, 2022

This PR focuses on cleaning the code up:

  • adds clj-kondo lint step in the CI build.
  • fixes all lint warnings and errors (from 284 warnings and 62 errors down to 0 for both).

Note: review commit per commit

Checklist

  • tests
  • updated CHANGELOG (the "unreleased" section)

@gphilipp gphilipp force-pushed the upgrade-deps branch 2 times, most recently from 3cf92c7 to ea9a365 Compare June 1, 2022 10:06
@gphilipp gphilipp force-pushed the upgrade-deps branch 2 times, most recently from f0c9de8 to fb80e61 Compare June 1, 2022 11:37
@@ -100,6 +100,14 @@ jobs:
key: v1-jackdaw-repo-{{ .Branch }}-{{ .Revision }}
paths:
- .
lint:
Copy link
Collaborator

@jbropho jbropho Jun 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jackdaw is still using circleci, not drone.

@gphilipp gphilipp changed the title Upgrade libraries, fix reflection, remove calls to deprecated API Lint all the code Jun 7, 2022
Only left the more tricky ones which will be tackled in a later commit
Gilles Philippart added 6 commits June 7, 2022 13:28
The private function jackdaw.test.fixtures/delete-topics isn't used
Ignore thrown-with-msg-and-data which extends the `clojure.test/is` macro
We purposely redefine the fns created by defmacro.
@gphilipp gphilipp marked this pull request as ready for review June 8, 2022 13:59
@gphilipp gphilipp requested a review from a team as a code owner June 8, 2022 13:59
@gphilipp gphilipp requested a review from 99-not-out June 8, 2022 16:42
to trigger another build and see if the FC checks are still there
99-not-out
99-not-out previously approved these changes Jun 10, 2022
@gphilipp gphilipp merged commit e0c66d3 into master Jun 10, 2022
@gphilipp gphilipp deleted the upgrade-deps branch June 10, 2022 13:26
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

Successfully merging this pull request may close these issues.

3 participants