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

Clean up sbt plugins #336

Merged
merged 10 commits into from
May 3, 2022
Merged

Clean up sbt plugins #336

merged 10 commits into from
May 3, 2022

Conversation

danicheg
Copy link
Member

@danicheg danicheg commented May 3, 2022

This PR includes:

  • a migration to the sbt-typelevel plugin;
  • a generation of headers;
  • a fixing of compilation caused due to new compiler flags from the sbt-typelevel plugin. Due to new compiler settings - every warning at the CI became fatal. And I think that is pretty good.

@@ -1,3 +1,24 @@
/*
* Copyright (c) 2022 Typelevel
Copy link
Member Author

Choose a reason for hiding this comment

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

@benhutchison the sbt-typelevel plugin is bundled with the sbt-header plugin, so that's why headers have been generated. The difference with LICENSE.txt is that the copyright belongs to Typelevel. So we should change that belonging in LICENSE.txt or for all files, for consistency. What do you think about that?

Copy link
Member

Choose a reason for hiding this comment

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

Happy to ascribe copyright to Typelevel in LICENSE.txt 👍

@danicheg danicheg requested a review from benhutchison May 3, 2022 11:23
override def eqv(x: MalformedURLException, y: MalformedURLException): Boolean =
x.getMessage == y.getMessage
}

assertEquals(
Copy link
Member

Choose a reason for hiding this comment

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

Just curious how this change comes into it.. is Eq[URL] supported out of the box now or something?

Copy link
Member Author

Choose a reason for hiding this comment

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

It seems it was unused after migration to MUnit. assertEquals isn't integrated with cats.Eq.

@danicheg
Copy link
Member Author

danicheg commented May 3, 2022

@benhutchison Thank you for your review!

@danicheg danicheg merged commit 4184d87 into typelevel:main May 3, 2022
@danicheg danicheg deleted the sbt-plugins branch May 3, 2022 19:41
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.

2 participants